danb35 / freenas-iocage-nextcloud

Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
GNU General Public License v3.0
258 stars 71 forks source link

My own certificate #119

Closed xames81 closed 4 years ago

xames81 commented 4 years ago

SELFSIGNED_CERT (to generate a self-signed certificate--this is also the setting to use if you want to use a certificate from another source).

How to put there in the script my own SSL certificate?

Thanks.

danb35 commented 4 years ago

How to put there in the script my own SSL certificate?

You don't put it in the script. Instead, you run through the script, let it create the self-signed cert, and after the jail's up and running, replace that cert with your external cert. The closing instructions from the cert will tell you where to place the files.