LetsEncrypt - DNS¶
Out Salt states will have installed the LetsEncrypt package.
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:
TXT record in your DNS e.g:
To verify the record is deployed, Before continuing:
dig -t txt _acme-challenge.pypi.myserver.co.uk +short
I don’t know if this works with our auto-renewal script.