[root@greencom letsencrypt]# service httpd stop
Redirecting to /bin/systemctl stop httpd.service
[root@greencom letsencrypt]# ./certbot-auto certonly --force-renew --cert-name shop.coonatea.com.tw
Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA?
-------------------------------------------------------------------------------
1: Apache Web Server plugin - Beta (apache)
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): 2
Plugins selected: Authenticator standalone, Installer None
Please enter in your domain name(s) (comma and/or space separated) (Enter 'c'
to cancel): shop.coonatea.com.tw
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for shop.coonatea.com.tw
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/shop.coonatea.com.tw/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/shop.coonatea.com.tw/privkey.pem
Your cert will expire on 2018-04-28. 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"
[root@greencom letsencrypt]# service httpd start