包下载:
https://github.com/certbot/certbot/releases
下载安装后,run运行
停止apache服务(或者IIS站点,或者网站绑定的站点服务)
执行命令 certbot certonly --standalone -d xxx.com
生成的证书保存在C:\Certbot\live\xxx.com\
生成的证书为pem,IIS需要pfx格式
用此网址转换
https://www.sslaaa.com/tools/crt_to_pfx