1. Letsencrypt/certbot/manual_mode/dns-01/wildcard
dns認証に慣れたら、wildcard証明書も簡単だった。-- ToshinoriMaeno 2019-12-30 02:43:12
# certbot certonly --manual --preferred-challenges dns-01 -d \*.sakura.qmail.jp Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator manual, Installer None Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org Obtaining a new certificate Performing the following challenges: dns-01 challenge for sakura.qmail.jp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Please deploy a DNS TXT record under the name _acme-challenge.sakura.qmail.jp with the following value: OS-tgmu0AbnjksfRpQxRBCylSIbflcMmO9jhYjLSGbk Before continuing, verify the record is deployed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Press Enter to Continue
TXTレコードを設定して、確認したら、Enterを入れる。
Waiting for verification... Cleaning up challenges IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /usr/local/etc/letsencrypt/live/sakura.qmail.jp-0001/fullchain.pem Your key file has been saved at: /usr/local/etc/letsencrypt/live/sakura.qmail.jp-0001/privkey.pem Your cert will expire on 2020-03-28. 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