Skip to content

Commit 723fab4

Browse files
timbot1789jeapostrophe
authored andcommitted
Update continue.scrbl
A key of size `1024` is no longer considered long enough to be secure. Running the line `plt-web-server --ssl` throws the following error on recent versions: `ssl-load-certificate-chain!: load failed from: #<path:/myPath/Racket/server-cert.pem> (error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small)` Bumping the size up to `2048` fixes the error.
1 parent c20a625 commit 723fab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-server-doc/web-server/scribblings/tutorial/continue.scrbl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,7 @@ Finally, here are instructions for using the server in HTTPS mode.
14391439
This requires an SSL certificate and a private key. It is also very
14401440
platform-specific, but here are the details for using OpenSSL on UNIX:
14411441

1442-
@commandline{openssl genrsa -des3 -out private-key.pem 1024}
1442+
@commandline{openssl genrsa -des3 -out private-key.pem 2048}
14431443

14441444
This will generate a new private key, but with a passphrase, which you
14451445
can remove as follows:

0 commit comments

Comments
 (0)