# certbot certonly --webroot -w /var/www/html/ -d www.typea.info
certbot certonly --webroot -w /var/www/html/ -d repo.typea.info Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org Obtaining a new certificate Performing the following challenges: http-01 challenge for repo.typea.info Using the webroot path /var/www/html for all unmatched domains. Waiting for verification... Cleaning up challenges IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/repo.typea.info/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/repo.typea.info/privkey.pem Your cert will expire on 2020-07-25. 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*サーバー証明書が作成された # ls -l /etc/letsencrypt/live/repo.typea.info/ 合計 4 -rw-r--r-- 1 root root 692 4月 26 11:39 README lrwxrwxrwx 1 root root 39 4月 26 11:39 cert.pem -> ../../archive/repo.typea.info/cert1.pem lrwxrwxrwx 1 root root 40 4月 26 11:39 chain.pem -> ../../archive/repo.typea.info/chain1.pem lrwxrwxrwx 1 root root 44 4月 26 11:39 fullchain.pem -> ../../archive/repo.typea.info/fullchain1.pem lrwxrwxrwx 1 root root 42 4月 26 11:39 privkey.pem -> ../../archive/repo.typea.info/privkey1.pem
*[https://weblabo.oscasierra.net/letsencrypt-renew-cron/ Let's Encrypt の証明書自動更新手順]