首页 新闻 搜索 专区 学院

Let’s Encrypt 配置校验失败

1
[待解决问题]
80端口没对外开放,在配置Let’s Encrypt出现下面提示,该怎么处理?
The ACME server was probably unable to reach http://XXXXX.XXXXX.XXX/.well-known/acme-challenge/eue_UrCJxw9Xpu3F7QxxIoXPq77GwaEuXSzj4RTj6so Check in a browser to see if the answer file is being served correctly. This could be caused by IIS not being setup to handle extensionless static files. Here's how to fix that: 1. In IIS manager goto Site/Server->Handler Mappings->View Ordered List 2. Move the StaticFile mapping above the ExtensionlessUrlHandler mappings. (like this http://i.stack.imgur.com/nkvrL.png)
3. if you need to make changes to your web,config file, update the one at D:\letsencrypt-win-simple.V1.9.1\web_config.xml
讨教的主页 讨教 | 菜鸟二级 | 园豆:224
提问于:2017-01-04 20:52
< >
分享
所有回答(1)
0

参考 https://github.com/ebekker/ACMESharp/issues/15 在站点配置中加上

<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <staticContent> <mimeMap fileExtension=".*" mimeType="text/json" /> </staticContent> </system.webServer> </configuration>

崩溃侠 | 园豆:206 (菜鸟二级) | 2017-04-19 09:46
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册