使用 Certbot 安装 Letsencrypt 证书

第一步:下载安装Certbot,下载地址:https://github.com/certbot/certbot/releases  下载完成后直接双击运行安装

第二步:双击打开安装目录下的run.bat (默认安装路径是C:\Program Files (x86)\Certbot\)

第三步:停止apache服务(或者IIS站点,或者网站绑定的站点服务)

第四步:执行命令 certbot certonly --standalone -d xxx.com 比如我的域名是data.mydata.com (certbot certonly --standalone -d data.mydata.com)

生成的证书保存在C:\Certbot\live\xxx.com\ 

posted @ 2020-05-12 09:52  小水皮  阅读(1767)  评论(0编辑  收藏  举报