home-assistant.github.io/source/_docs/ecosystem
Daniel Welch 4cda6df98b lets_encrypt.markdown -- automated renewal w/o port forwarding 80 (#2954)
Before finding this guide, I ran into the Port 80 problem described in this page (likely blocked by ISP) and [posted about it in the LetsEncrypt forums](https://community.letsencrypt.org/t/help-with-standalone-certbot-failed-to-bind-to-80-using-ipv4/37701/8). While this excellent guide helped me circumvent that immediate issue, a certbot engineer suggested an alternate method for automated cert renewal that did not require manually changing port mapping every time a cert needed to be renewed.

In short, he suggested using a TLS challenge rather than HTTP, so that the Let's Encrypt CA would bind port 443 externally, and specify certbot to bind to port 8123 internally for certificate renewal. He also added that pre- and post-hooks could be passed to certbot so that HA could be stopped/started and port 8123 could be freed for cert renewal. 

I have verified that this method works in a dry run on my own HA setup and modified step 8 with some suggested documentation
2017-07-09 09:32:11 +02:00
..
appdaemon Re-organisation Documentation and Getting started (#2055) 2017-02-23 11:09:41 +01:00
backup Improve backup github doc (#2589) 2017-05-07 21:37:41 +02:00
certificates lets_encrypt.markdown -- automated renewal w/o port forwarding 80 (#2954) 2017-07-09 09:32:11 +02:00
ios Add link to Actionable Notifications (#2604) 2017-05-10 07:54:36 +02:00
notebooks Fix link (#2544) 2017-05-01 12:55:00 +02:00
apache.markdown Update apache.markdown (#2763) 2017-06-05 11:23:56 +02:00
appdaemon.markdown Tidy up HADashboard and AppDaemon Exosystem docs 2017-07-02 12:18:12 -04:00
certificates.markdown Add section overview 2017-07-04 10:57:46 +02:00
hadashboard.markdown Tidy up HADashboard and AppDaemon Exosystem docs 2017-07-02 12:18:12 -04:00
hass-configurator.markdown Update documentation, add link to menu (#2349) 2017-03-30 09:10:56 +02:00
ios.markdown Update push configuration doc 2017-04-16 16:48:00 -07:00
nginx.markdown Update name 2017-05-30 12:33:02 +02:00
nginx_subdomain.markdown Add content from #2330 2017-05-30 12:33:22 +02:00
notebooks.markdown Re-organisation Documentation and Getting started (#2055) 2017-02-23 11:09:41 +01:00
scenegen.markdown Re-organisation Documentation and Getting started (#2055) 2017-02-23 11:09:41 +01:00
synology.markdown Re-organisation Documentation and Getting started (#2055) 2017-02-23 11:09:41 +01:00
tor.markdown Move infrastructure cookbooks to docs (#2331) 2017-03-25 19:19:33 +01:00