ugoviti / izpbx

izPBX is a Turnkey Cloud Native Telephony System powered by Asterisk Engine and FreePBX Management GUI
GNU General Public License v3.0
179 stars 74 forks source link

Letsencrypt #25

Closed ulug79 closed 3 years ago

ulug79 commented 3 years ago

Please add DNS challenge for certificate generation. Or add possibility to specify the folder with certificates

ugoviti commented 3 years ago

Hi,

thank you for the suggestions, but the Let's Encrypt certificates are managed by FreePBX fwconsole commmad that doesn't support DNS challenge. You can open a Feature Request into FreePBX bugtraking if you want.

Anyway I enhanced the self-signed and custom certificate management adding three new variables that you can use to customize your HTTPS settings.

Released as 18.15.20 (building now, let it finish the push into docker hub)

Let's me know if this solve your needs, so I can close this issue.

Kind Regards

ulug79 commented 3 years ago

Hi,

My docker hosts use traefik load balancer. Traefik with dns challenge request certificate from letsencrypt. other container extract certificate if renewed and restart all needed containers.

Please add using of custom certificate. for example enviroment variables SSL_CERT_KEY=/appdata/certs/cert.key SSL_CERT_NAME=/appdaya/certs/cert.crt

ugoviti commented 3 years ago

Yes, since 18.15.20 release you can use these variables:

Let me know if this works for you.

Thank you

ulug79 commented 3 years ago

Thanks for your great work!