允许无法从IIS访问Encrypt ACME Challenge文件 [英] Lets Encrypt ACME Challenge file not accessable from IIS

查看:170
本文介绍了允许无法从IIS访问Encrypt ACME Challenge文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试为我们的一个项目生成SSL证书,该项目在没有IP限制的Azure VM上运行.但是,所生成的质询文件会引发404错误,并且无法通过网络进行访问.

I have been trying to generate a SSL certificate for one of our projects which is running on an Azure VM which has no IP restrictions. However, the challenge file which is generated throws a 404 error and is not accessible over the web.

我尝试了以下操作:

  1. 将静态内容类型移到IIS中的扩展少选项上方
  2. 为text/json,text/html添加mime类型

上述任何一项工作都使我很难使用此服务生成SSL.知道如何使它可访问吗?我已经拥有对该特定应用程序池标识的完全访问权限,因此在这种情况下,权限似乎不是问题,这只是在IIS中处理扩展名较少的文件的方式

None of the above work which is making it really hard for me to generate a SSL using this service. Any idea how I can make it accessible ? I have given full access to that specific App Pool identity so permissions don't seem to be an issue in this case, its just the way the extension less files are being handled in IIS

感谢您的帮助.

谢谢, 维沙尔

推荐答案

您只需在IIS上添加新的MIME类型 像这样 .

You just Add a New MIME Type on IIS like this .

,然后尝试在浏览器中使用该url.你会看到 现在您可以通过lets-encrypt身份验证了:)

and try use the url at your browser . you will see that Now you can Pass the lets-encrypt authentication :)

这篇关于允许无法从IIS访问Encrypt ACME Challenge文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆