Skip to content

Commit

Permalink
Update continue.scrbl
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
timbot1789 authored and jeapostrophe committed Mar 14, 2024
1 parent c20a625 commit 723fab4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@ Finally, here are instructions for using the server in HTTPS mode.
This requires an SSL certificate and a private key. It is also very
platform-specific, but here are the details for using OpenSSL on UNIX:

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

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

0 comments on commit 723fab4

Please sign in to comment.