LetsEncrypt - DNS

Out Salt states will have installed the LetsEncrypt package.

Note

letsencrypt-auto has been renamed to certbot-auto on Ubuntu.

On your server:

sudo -i
# replace 'pypi.myserver.co.uk' with your domain name
/opt/letsencrypt/certbot-auto certonly --manual -d pypi.myserver.co.uk --preferred-challenges "dns"

You will be asked to:

Please deploy a DNS TXT record under the name
_acme-challenge.pypi.myserver.co.uk with the following value:

Create the TXT record in your DNS e.g:

../_images/lets-encrypt-dns-txt.png

Note

I don’t know if this works with our auto-renewal script.