Skip to content

Commit 0ce9ef5

Browse files
authored
Update create_key.sh
Increase key size to prevent: ssl.SSLError: [SSL: EE_KEY_TOO_SMALL] ee key too small (_ssl.c:3542)
1 parent 1aeae3a commit 0ce9ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/create_key.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ by openssl, edit your openssl.cnf, such as /etc/ssl/openssl.cnf
77
88
EOF
99

10-
openssl genrsa -out server.key 1024
10+
openssl genrsa -out server.key 2048
1111
chmod 600 server.key
1212
openssl req -new -key server.key -out server.csr
1313
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

0 commit comments

Comments
 (0)