備忘録として。
まずはwwwから更新しますが、先にhttpサーバー(Apache24)を停止します。
root@www:/usr/home/webadmin # /usr/local/etc/rc.d/apache24 stop
Stopping apache24.
Waiting for PIDS: 1980.
root@www:/usr/home/webadmin # certbot certonly -w /usr/local/www/data -d www.still-laughin.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA?
-------------------------------------------------------------------------------
1: Spin up a temporary webserver (standalone)
2: Place files in webroot directory (webroot)
-------------------------------------------------------------------------------
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1
Plugins selected: Authenticator standalone, Installer None
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for www.still-laughin.com
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/usr/local/etc/letsencrypt/live/www.still-laughin.com-0002/fullchain.pem
Your key file has been saved at:
/usr/local/etc/letsencrypt/live/www.still-laughin.com-0002/privkey.pem
Your cert will expire on 2018-10-04. 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
root@www:/usr/home/webadmin #
次にblogの方を更新します。
root@www:/usr/home/webadmin # certbot certonly -w /usr/local/www/data -d blog.still-laughin.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA?
-------------------------------------------------------------------------------
1: Spin up a temporary webserver (standalone)
2: Place files in webroot directory (webroot)
-------------------------------------------------------------------------------
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1
Plugins selected: Authenticator standalone, Installer None
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for blog.still-laughin.com
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/usr/local/etc/letsencrypt/live/blog.still-laughin.com-0002/fullchain.pem
Your key file has been saved at:
/usr/local/etc/letsencrypt/live/blog.still-laughin.com-0002/privkey.pem
Your cert will expire on 2018-10-04. 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
root@www:/usr/home/webadmin # /usr/local/etc/rc.d/apache24 start
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.
root@www:/usr/home/webadmin #
これでOK。