1. watchA

 sudo certbot certonly --manual --preferred-challenges dns-01 -d t1.odns.info --manual-auth-hook /home/tmaeno/dnsdata/txt.sh

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for t1.odns.info

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NOTE: The IP of this machine will be publicly logged as having requested this
certificate. If you're running certbot in manual mode on a machine that is not
your server, please ensure you're okay with that.

Are you OK with your IP being logged?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: y
Output from txt.sh:
cat odns dnsz qmailjp qmailjp.cn[1-3] txt > /home/tinydns/root/qmailjp
(cd /home/tinydns/root; make)
make[1]: Entering directory '/etc/tinydns/root'
/usr/local/bin/tinydns-data
make[1]: Leaving directory '/etc/tinydns/root'

Waiting for verification...
Cleaning up challenges

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/t1.odns.info/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/t1.odns.info/privkey.pem
   Your cert will expire on 2022-05-19. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot
   again. To non-interactively renew *all* of your certificates, run
   "certbot renew"
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le

2. 2度めの実行

引数はまったく同じ $ sudo certbot certonly --manual --preferred-challenges dns-01 -d t1.odns.info --manual-auth-hook /home/tmaeno/dnsdata/txt.sh

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Cert not yet due for renewal

You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/t1.odns.info.conf)

What would you like to do?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Keep the existing certificate for now
2: Renew & replace the cert (limit ~5 per 7 days)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Renewing an existing certificate
Running deploy-hook command: /etc/letsencrypt/renewal-hooks/deploy/nginx

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/t1.odns.info/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/t1.odns.info/privkey.pem
   Your cert will expire on 2022-05-19. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot
   again. To non-interactively renew *all* of your certificates, run
   "certbot renew"
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le

3. renew

$ sudo certbot renew --force-renewal

new certificate deployed without reload, fullchain is
/etc/letsencrypt/live/t1.odns.info/fullchain.pem


CategoryDns CategoryWatch CategoryTemplate

MoinQ: Letsencrypt/certbot/odns.info/log-2 (last edited 2022-02-18 10:27:29 by ToshinoriMaeno)