From b36cbc13f398b5422f3935ac9f1c6d137456b327 Mon Sep 17 00:00:00 2001 From: Hauke D Date: Thu, 8 Nov 2018 14:56:29 +0100 Subject: [PATCH] Added notes on SSL --- notes.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/notes.md b/notes.md index 812df12..b9c89ef 100644 --- a/notes.md +++ b/notes.md @@ -75,6 +75,16 @@ TODOs or using the included `findtodo.sh`. +SSL +--- + + $ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfsigned.key -out selfsigned.crt + ... + Common Name (e.g. server FQDN or YOUR name) []: localhost + ... + $ plackup --enable-ssl --ssl-key-file=selfsigned.key --ssl-cert-file=selfsigned.crt web/webperl.psgi + # then go to https://localhost:5000 and accept the certificate warning + Possible Improvements ---------------------