Skip to content

dehydrated 0.7.2⚓︎

With Dehydrated (and LigHTTPd), Let's Encrypt certificates can be created and updated automatically.

screenshot

Creating a Certificate⚓︎

  • Configure LigHTTPd so it is reachable from the internet under the DynDNS name via HTTP (check with the "webproxy" page).
  • Fill in the Dehydrated "Options" accordingly (email is optional).
  • Run rc.dehydrated init.
  • Run the displayed command for one-time registration.
  • Run rc.dehydrated init again.

Using the Certificate⚓︎

  • In LigHTTPd under "advanced", enter an HTTPS vhost with the paths to the certificate.
  • Or enter ssl.pem and fullchain.pem through the LigHTTPd WebIF.
  • Even better, if only one domain is used, link the Dehydrated certificates like this:
    rm -f /tmp/flash/lighttpd/ca.pem
    ln -s /var/media/ftp/.. ../dehydrated/DOMAIN/fullchain.pem /tmp/flash/lighttpd/ca.pem
    rm -f /tmp/flash/lighttpd/crt.pem
    ln -s /var/media/ftp/.. ../dehydrated/DOMAIN/ssl.pem  /tmp/flash/lighttpd/crt.pem
    modsave
    rc.lighttpd restart