Skip to content

Commit 1682a9e

Browse files
committed
Change CA CN
1 parent bcb4156 commit 1682a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ssl/ssl.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ SERVER_CN=localhost
1616

1717
# Step 1: Generate Certificate Authority + Trust Certificate (ca.crt)
1818
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}"
19+
openssl req -passin pass:1111 -new -x509 -days 365 -key ca.key -out ca.crt -subj "/CN=ca"
2020

2121
# Step 2: Generate the Server Private Key (server.key)
2222
openssl genrsa -passout pass:1111 -des3 -out server.key 4096

0 commit comments

Comments
 (0)