在CentOS上支持Let's Encrypt的ssl证书、参见https://certbot.eff.org/#centos6-apache。如果是其他环境,可以在https://certbot.eff.org/寻找合适的方法。
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
./certbot-auto
根据提示执行即可。证书每3个月会失效,到期时需要更新证书:
./certbot-auto renew
欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。
在CentOS上支持Let's Encrypt的ssl证书、参见https://certbot.eff.org/#centos6-apache。如果是其他环境,可以在https://certbot.eff.org/寻找合适的方法。
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
./certbot-auto
根据提示执行即可。证书每3个月会失效,到期时需要更新证书:
./certbot-auto renew