兰州医院网站建设,一人开公司做网站创业,开发制作小程序公司,响应式模板网站建设1、到官网#xff08;https://certbot.eff.org/instructions?wswebproductoswindows#xff09;下载 certbot客户端。 2、安装客户端#xff08;全部默认安装即可#xff09;
3、暂停IIS中的网站 开始菜单中找到并运行“Certbot”#xff0c;输入指令#xff1a; …1、到官网https://certbot.eff.org/instructions?wswebproductoswindows下载 certbot客户端。 2、安装客户端全部默认安装即可
3、暂停IIS中的网站 开始菜单中找到并运行“Certbot”输入指令
certbot certonly --standalone
然后根据提示1输入邮箱、2同意协议、3拒绝推广邮件、4输入域名 正常的话会提示接收成功已经保存到xx目录
如果失败
Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:Domain: xxxxx.comType: connectionDetail: 12.34.56.78: Fetching http://xxxxx.com/.well-known/acme-challenge/xxxxxx: Timeout during connect (likely firewall problem)Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile C:\Certbot\log\letsencrypt.log or re-run Certbot with -v for more details.
如果提示失败通常是防火墙问题。暂时关闭防火墙方法请注意在进行调试后请记得重新启用防火墙以确保服务器的安全性。
打开 PowerShell 窗口以管理员身份运行。你可以在开始菜单中找到 PowerShell右键点击并选择“以管理员身份运行”。输入以下命令来停用 Windows Defender 防火墙
netsh advfirewall set allprofiles state off如果需要启用防火墙可以使用以下命令
netsh advfirewall set allprofiles state onIIS中添加并绑定证书
添加 绑定