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