SteveLTN / https-portal

A fully automated HTTPS server powered by Nginx, Let's Encrypt and Docker.
MIT License
4.41k stars 295 forks source link

Local certs / BYO Certs ? #339

Open accforgithubtest opened 10 months ago

accforgithubtest commented 10 months ago

We use mkcert to generate self signed certificates - Is there any way for us to use [pre-existing externally generated] self signed certs in STAGE:local mode ?

Would be great if there was a way to specify self signed cert location in environment variables.

SteveLTN commented 10 months ago

You should be able to just use volume sharing and put your own certificate in the folder where HTTPS-PORTAL normally stores the certificate. It’s in /var/lib/https-portal inside the container. Syncing it out and have look at the folder structure, you should be able to know where to put it :-)