LetsEncrypt - DNS¶
Out Salt states will have installed the LetsEncrypt package.
letsencrypt-auto has been renamed to
certbot-auto on Ubuntu.
certbot-auto has been renamed to
certbot on Ubuntu.
On your server:
sudo -i # replace 'pypi.myserver.co.uk' with your domain name certbot 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:
When deploying to Digital Ocean, enter the Hostname without the
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.