Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Enter email address (used for urgent renewal and security notices) (Enter 'c' to
cancel):
(A)gree/(C)ancel: A
Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let's Encrypt project and the non-profit
organization that develops Certbot? We'd like to send you email about our work
encrypting the web, EFF news, campaigns, and ways to support digital freedom.
(Y)es/(N)o: N
次に、ドメインの認証方法を選択する様に促されますので、悩むことなく「3」を選んでください。
How would you like to authenticate with the ACME CA?
1: Nginx Web Server plugin (nginx)
2: Spin up a temporary webserver (standalone)
3: Place files in webroot directory (webroot)
Select the appropriate number [1-3] then [enter] (press 'c' to cancel):
証明書を取得したいドメインを、半角スペースまたは半角カンマで区切って入力してください。
Plugins selected: Authenticator webroot, Installer None
Please enter in your domain name(s) (comma and/or space separated) (Enter 'c'
to cancel):
最後に、WEBサーバのドキュメントルートを指定してください。
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for test-site.com
Input the webroot for test-site.com: (Enter 'c' to cancel):
取得完了まで少し待ちます。
Waiting for verification…
Cleaning up challenges
正常に取得が完了すると、以下のような内容が表示されます。
IMPORTANT NOTES:
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/test-site.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/test-site.com/privkey.pem
Your cert will expire on 2019-11-02. To obtain a new or tweaked
version of this certificate in the future, simply run certbot-auto
again. To non-interactively renew all of your certificates, run
"certbot-auto 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