Hetzner and Let’s Encrypt

Hetzner webhosting allows you to import your own SSL certificates. First download certbot and create the certificates on your local computer.

mkdir certbot
cd certbot
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
./certbot-auto certonly --manual -d nasahl.li

Now create the .well-known/acme-challenge/CERTBOT_ID with the corresponding CERTBOD_ID and the correct content on your webserver. To do this, create the directories and the file with the content in the public_html directory of the domain. The certificates have been created at /etc/letsencrypt/live/nasahl.li.

In the Hetzner webinterface got to Domains – Your Domain and select Services – SSL Manger. At the SSL Certificates tab click Import.

The Certificate is stored in the cert.pem file, Key is in the privkey.pem file and CA in the chain.pem file. Copy and paste all the data from the files in the text boxes and click on Import certificates.



On SSL-Accounts the certificates can be assigned to the domain.

19. August 2016 by nasahl
Categories: Web | Tags: , , | Leave a comment

Leave a Reply

Required fields are marked *