verita84 2020-12-18 15:45:33 +00:00
parent 8ba553576c
commit 98f288dd62

13
SSL-Configuration.md Normal file

@ -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",
```