Skip to content

Commit

Permalink
Remove rds ca bundle and update certificate script
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Adigun committed Jul 19, 2021
1 parent f3ab70d commit 887deea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1,442 deletions.
4 changes: 3 additions & 1 deletion Arm-Architecture/ca-tls-certificates/make_certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#Script to generate required SSL certs

if ls ./*.pem | grep -v rds-combined-ca-bundle.pem 2>/dev/null 1>&2; then
if ls ./*.pem 2>/dev/null 1>&2; then
echo "certificates exists..., no need to generate SSL certs"
exit
fi
Expand All @@ -16,6 +16,8 @@ fi

sudo touch /etc/pki/CA/index.txt

wget https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem

openssl req -new -batch -x509 -days 3650 -nodes -newkey rsa:1024 -out ./cacert.pem -keyout cakey.pem -subj /CN=ca.localdomain/C=KO/ST=Seoul/L=Nowon/O=Open5GS/OU=Tests
openssl genrsa -out ./mme.key.pem 1024
openssl req -new -batch -out mme.csr.pem -key ./mme.key.pem -subj /CN=mme.localdomain/C=KO/ST=Seoul/L=Nowon/O=Open5GS/OU=Tests
Expand Down
Loading

0 comments on commit 887deea

Please sign in to comment.