附上免费申请https 证书教程链接以备遗忘

https://github.com/acmesh-official/acme.sh
https://github.com/acmesh-official/acme.sh/wiki/%E8%AF%B4%E6%98%8E

其中一种申请方法:
acme.sh --issue -d mydomain.com -d www.mydomain.com --webroot /home/wwwroot/mydomain.com/

acme.sh --issue -d mydomain.com --nginx

acme.sh --installcert -d  mydomain.com \
--key-file /etc/nginx/ssl/mydomain.com \
--fullchain-file /etc/nginx/ssl/fullchain.cer \
--reloadcmd "service nginx force-reload"



猜你喜欢

转载自www.cnblogs.com/zjhblogs/p/12502334.html