Configure Letsencrypt - mttstt/Domoticasite GitHub Wiki

Install Letsencrypt

  • sudo apt-get install python-certbot-apache
  • sudo certbot --apache

https://pimylifeup.com/raspberry-pi-ssl-lets-encrypt/

Renew certificate

There are problem with sslh:

https://github.com/certbot/certbot/issues/341

So manualy make these step

  • modify /etc/apache2/site
  • modify /etc/apache2/site-enables/defaul.conf 4443 --> 433
  • surdo /etc/init.d/apache2 restart
  • sudo /home/pi/letsencrypt/letsencrypt-auto -d matteosetti.noip.me --apache -m [email protected] --redirect --agree-tos --renew-by-default