Openhab + certbot integration

Hi,

for whoever wants this, this script can be added to your certbot installation (in the /etc/letsencrypt/renewal-hooks/post directory) to automatically import the certificate in openhab upon renewal.

See inside the script for configuration and rename it to openhab.sh.

Please note, this is meant to be used by people who use the same server as a webserver with HSTS, which would prevent you from using HTTPS with openhab unless you import the certificates.

Have fun,
Jove

openhab.sh.txt (2.2 KB)

2 Likes

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.