使用Let's crypt 加密站点:
1.安装certbot
2.使用独立配置文件配置好站点
3.使用certbot自动加密站点
certbot --authenticator standalone --installer nginx -d wx.ictspark.com --pre-hook "service nginx stop" --post-hook "service nginx start"
4.自动更新证书
certbot --renew
使用Let's crypt 加密站点:
1.安装certbot
2.使用独立配置文件配置好站点
3.使用certbot自动加密站点
certbot --authenticator standalone --installer nginx -d wx.ictspark.com --pre-hook "service nginx stop" --post-hook "service nginx start"
4.自动更新证书
certbot --renew