We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcb4156 commit 1682a9eCopy full SHA for 1682a9e
ssl/ssl.sh
@@ -16,7 +16,7 @@ SERVER_CN=localhost
16
17
# Step 1: Generate Certificate Authority + Trust Certificate (ca.crt)
18
openssl genrsa -passout pass:1111 -des3 -out ca.key 4096
19
-openssl req -passin pass:1111 -new -x509 -days 365 -key ca.key -out ca.crt -subj "/CN=${SERVER_CN}"
+openssl req -passin pass:1111 -new -x509 -days 365 -key ca.key -out ca.crt -subj "/CN=ca"
20
21
# Step 2: Generate the Server Private Key (server.key)
22
openssl genrsa -passout pass:1111 -des3 -out server.key 4096
0 commit comments