Fix SSL command

This commit is contained in:
Juan Calderon-Perez
2023-09-09 22:03:51 -04:00
parent e357a9c813
commit 7eec5856a3

View File

@@ -25,6 +25,7 @@ generate_cert() {
-CA ./tls/ca.crt \
-CAkey ./tls/ca.key \
-CAserial ./tls/ca.txt \
-addext 'subjectAltName = DNS:localhost' \
-CAcreateserial \
-days 365 \
$opts \
@@ -38,7 +39,6 @@ openssl req \
-key ./tls/ca.key \
-days 3650 \
-subj '/O=Redis Test/CN=Certificate Authority' \
-addext 'subjectAltName = DNS:localhost' \
-out ./tls/ca.crt
cat > ./tls/openssl.cnf <<_END_