Letsencrypt DNS Verification: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 4: Zeile 4:
 
*[[certbot-dns-validation.sh]]
 
*[[certbot-dns-validation.sh]]
  
[[Datei:Certbot-dns-validation.sh]]
+
[[Media:Certbot-dns-validation.sh]]
  
 
=First getting of the certs=
 
=First getting of the certs=

Version vom 2. Oktober 2022, 16:21 Uhr

Install

  • abt install certbot

certbot-dns-validation

Media:Certbot-dns-validation.sh

First getting of the certs

  • certbot -d worf.xmen.de --manual --preferred-challenges dns certonly --manual-auth-hook /usr/local/sbin/certbot-dns-validation.sh

Renew certs

  • certbot renew --cert-name worf.xmen.de --quiet --no-self-upgrade --manual-auth-hook /usr/local/sbin/certbot-dns-validation --pre-hook "/usr/local/sbin/ssl-service stop" --post-hook "/usr/local/sbin/ssl-service start"

create wildcard cert with certbot

Renew certs

  • certbot renew --cert-name xx.org --quiet --no-self-upgrade --manual-auth-hook /usr/local/sbin/certbot-dns-validation --pre-hook "/usr/local/sbin/ssl-service stop" --post-hook "/usr/local/sbin/ssl-service start"

Links