#Saving debug log to /var/log/letsencrypt/letsencrypt.log #Enter email address (used for urgent renewal and security notices)
萬一打錯 domain 會跳這樣
1
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS
正常的話會給這樣的訊息
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Saving debug log to /var/log/letsencrypt/letsencrypt.log Requesting a certificate for ggyy.com.tw
Successfully received certificate. Certificate is saved at: /etc/letsencrypt/live/ggyy.com.tw/fullchain.pem Key is saved at: /etc/letsencrypt/live/ggyy.com.tw/privkey.pem This certificate expires on 2022-08-03. These files will be updated when the certificate renews. Certbot has set up a scheduled task to automatically renew this certificate in the background.
Deploying certificate Successfully deployed certificate for ggyy.com.tw to /etc/nginx/sites-enabled/default Congratulations! You have successfully enabled HTTPS on https://ggyy.com.tw