Difference between revisions of "Certbot"

From Wiki
Jump to: navigation, search
m (Admin moved page Letsencrypt Certificates to Certbot)
 
Line 6: Line 6:
  
 
Renew cert using DNS authentication:
 
Renew cert using DNS authentication:
  set domain='example.com'
+
  set domain='www.example.com'
  certbot certonly -d host.example.com-a manual --preferred-challenges dns
+
  certbot certonly -d ${domain} -a manual --preferred-challenges dns
  
 
Docs:
 
Docs:
  
 
https://community.letsencrypt.org/t/quick-start-guide/1631
 
https://community.letsencrypt.org/t/quick-start-guide/1631

Latest revision as of 21:37, 14 January 2021

Create new cert:

certbot -a standalone -d www.example.com certonly

Create cert using www authentication:

certbot --server https://acme-v01.api.letsencrypt.org/directory -a manual -d <domain> certonly

Renew cert using DNS authentication:

set domain='www.example.com'
certbot certonly -d ${domain} -a manual --preferred-challenges dns

Docs:

https://community.letsencrypt.org/t/quick-start-guide/1631