From 98f288dd629d1bd71edfc425887601267c810a83 Mon Sep 17 00:00:00 2001 From: verita84 Date: Fri, 18 Dec 2020 15:45:33 +0000 Subject: [PATCH] --- SSL-Configuration.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 SSL-Configuration.md diff --git a/SSL-Configuration.md b/SSL-Configuration.md new file mode 100644 index 0000000..7f3fac0 --- /dev/null +++ b/SSL-Configuration.md @@ -0,0 +1,13 @@ +Generate self-signed SSL key/cert in the ssl/ folder: +``` +cd /opt/picluster +openssl req -sha512 -newkey rsa:4096 -keyout ssl/picluster.key -x509 -days 365 -nodes -out ssl/picluster.crt +``` + +Edit the ```config.json``` file and enable SSL and specify the cert and key path, also in since this instance uses a self-signed SSL key/cert the ssl_self_signed has been set to true: +``` +"ssl": true, +"ssl_self_signed": true, +"ssl_cert": "/opt/picluster/ssl/picluster.crt", +"ssl_key": "/opt/picluster/ssl/picluster.key", +``` \ No newline at end of file