Contents
更新の範囲に。-- ToshinoriMaeno 2023-01-24 07:53:27
証明書の更新、nginx restart
1. *.qmail.jp
# certbot certonly --manual --preferred-challenges dns-01 -d *.qmail.jp --manual-auth-hook /home/tmaeno/dnsdata/txt.sh
2. output
root@tokyo:/home/tmaeno# certbot certonly --manual --preferred-challenges dns-01 -d *.qmail.jp --manual-auth-hook /home/tmaeno/dnsdata/txt.sh Saving debug log to /var/log/letsencrypt/letsencrypt.log Requesting a certificate for *.qmail.jp Hook '--manual-auth-hook' for qmail.jp ran with output: cat qmailjp qmailjp.cn1 qmailjp.cn2 qmailjp.cn3 txt.z txt odns > /service/tinydns/root/qmailjp (cd /service/tinydns/root; make) make[1]: Entering directory '/home/dns/tinydns/root' /usr/local/bin/tinydns-data make[1]: Leaving directory '/home/dns/tinydns/root' Successfully received certificate. Certificate is saved at: /etc/letsencrypt/live/qmail.jp/fullchain.pem Key is saved at: /etc/letsencrypt/live/qmail.jp/privkey.pem This certificate expires on 2023-02-23. These files will be updated when the certificate renews. Certbot has set up a scheduled task to automatically renew this certificate in the background. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. nginx
/etc/nginx/nginx.conf/moin.qmail.jp 内で参照