mirror of
https://github.com/gofiber/storage.git
synced 2025-10-13 12:23:44 +08:00
Fix SSL command
This commit is contained in:
2
.github/scripts/gen-test-certs.sh
vendored
2
.github/scripts/gen-test-certs.sh
vendored
@@ -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_
|
||||
|
Reference in New Issue
Block a user