Skip to content

Commit f68d7ba

Browse files
committed
Change private key loading to default to PEM-encoded PKCS#8
1 parent 87a1e58 commit f68d7ba

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

web-server-doc/web-server/scribblings/launch.scrbl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ A default implementation of the dispatch server's connection-conversion abstract
193193

194194
Constructs an implementation of the dispatch server's connection-conversion abstraction for OpenSSL.
195195

196-
@history[#:added "1.1"]}
196+
@history[#:changed "8.16"
197+
@elem{Changed the handling of private keys to support the PEM-encoded PKCS#8 format by default.}
198+
#:added "1.1"]}
197199

198200

199201
@defproc[(do-not-return) none/c]{

web-server-lib/web-server/web-server.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
(define the-ctxt
7575
(ssl-make-server-context))
7676
(ssl-load-certificate-chain! the-ctxt server-cert-file)
77-
(ssl-load-private-key! the-ctxt server-key-file)
77+
(ssl-load-private-key! the-ctxt server-key-file #f)
7878
(define-unit ssl:dispatch-server-connect@
7979
(import) (export dispatch-server-connect^)
8080
(define (port->real-ports ip op)

0 commit comments

Comments
 (0)