diff options
author | 2023-03-15 12:38:13 +0000 | |
---|---|---|
committer | 2023-03-15 12:38:13 +0000 | |
commit | 2986c774cd6520cab7e7e380e1511d521e8afe04 (patch) | |
tree | f3fbf7d01c499779cadb9b8ab7f738ba11f7f7ee /csit.infra.dash/do_certs.sh | |
parent | b928e56347c682fdb9762ccbe2f368329d4037e4 (diff) |
feat(docs): Code cleanup
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I312b7107b74229bbe318851c41e0de1747ffd83c
Diffstat (limited to 'csit.infra.dash/do_certs.sh')
-rwxr-xr-x | csit.infra.dash/do_certs.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/csit.infra.dash/do_certs.sh b/csit.infra.dash/do_certs.sh deleted file mode 100755 index f20ddbc5ef..0000000000 --- a/csit.infra.dash/do_certs.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -mkdir -p ./nginx/ssl -cd ./nginx/ssl - -FILE_NAME="subdomains.amazonaws.com" - -openssl genrsa -des3 -out CA.key 2048 - -openssl req -x509 -new -nodes -key CA.key -sha256 -days 8000 -out CA.pem - -openssl x509 -in CA.pem -inform PEM -out CA.crt - -openssl genrsa -out $FILE_NAME.key 2048 -openssl req -new -key $FILE_NAME.key -out $FILE_NAME.csr - -cat > $FILE_NAME.ext << EOF -authorityKeyIdentifier=keyid,issuer -basicConstraints=CA:FALSE -keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment -subjectAltName = @alt_names -[alt_names] -DNS.1 = *.amazonaws.com -DNS.2 = *.us-east-1.amazonaws.com -DNS.3 = *.s3.amazonaws.com -EOF - -openssl x509 -req -in $FILE_NAME.csr -CA CA.pem -CAkey CA.key -CAcreateserial -out $FILE_NAME.crt -days 8000 -sha256 -extfile $FILE_NAME.ext
\ No newline at end of file |