mirror of
https://github.com/gofiber/storage.git
synced 2025-10-15 13:10:43 +08:00
Add subjectAltName to openssl command
This commit is contained in:
1
.github/scripts/gen-test-certs.sh
vendored
1
.github/scripts/gen-test-certs.sh
vendored
@@ -38,6 +38,7 @@ openssl req \
|
|||||||
-key ./tls/ca.key \
|
-key ./tls/ca.key \
|
||||||
-days 3650 \
|
-days 3650 \
|
||||||
-subj '/O=Redis Test/CN=Certificate Authority' \
|
-subj '/O=Redis Test/CN=Certificate Authority' \
|
||||||
|
-addext 'subjectAltName = DNS:localhost' \
|
||||||
-out ./tls/ca.crt
|
-out ./tls/ca.crt
|
||||||
|
|
||||||
cat > ./tls/openssl.cnf <<_END_
|
cat > ./tls/openssl.cnf <<_END_
|
||||||
|
Reference in New Issue
Block a user