visual-studio - 如何修复 "The access control list (ACL) structure is invalid"

标签 visual-studio ssl ssl-certificate acl

我安装了 Win 10 专业版 v1803 和 Visual Studio 2019,当我尝试运行新创建的 .NET Web 应用程序时,我收到以下消息:

This project is configured to use SSL. To avoid SSL warnings in the browser you can choose to trust the self-signed certificate that IIS-Express has generated.

Would you like to trust the IIS Express SSL certificate?

在我点击是之后,我得到:

Adding the certificate to the Trusted Root Certificates store failed with the following error:

The access control list (ACL) structure is invalid.

我试过从“管理计算机证书”中删除证书并从控制面板修复 IIS Express 10,但没有成功。

此外,当我运行另一个 Web 应用程序时,我保存在另一台笔记本电脑上并将其复制到当前笔记本电脑上,我没有收到此错误。

最佳答案

我必须做 3 件事,这对我很有效。

  1. 从(控制面板 | 程序和功能)卸载 iis express
  2. 从这里下载并重新安装 (IIS) 10.0 Express https://www.microsoft.com/en-us/download/confirmation.aspx?id=48264
  3. 从复制本地主机证书
    • 证书(本地计算机)|个人|证书 并复制到
    • 证书(本地计算机)|受信任的根证书颁发机构

重启 vs(我使用的是 2019 和 vs preview 2019)和任何打开的浏览器。

关于visual-studio - 如何修复 "The access control list (ACL) structure is invalid",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56276414/

相关文章:

c - Visual Studio C 语法着色问题

ssl - 无法停止Gitlab内置的Nginx

c# - 如何在 C# 证书回调中查看 "Signature hash algorithm"?

java - apache httpclient 4.5.1 仅与非 ssl 站点建立 SSL 连接,但失败

java - 使用 Kimono Labs 的 Authorize Bearer header 的 GET 请求在 SSL 中的异常

firefox - 通过 HTTPS 的 Firefox 上的灰色三角形

c++ - 错误 : LNK1104: cannot open file

visual-studio - 如何在Visual Studio中同步代码窗口和解决方案资源管理器?

vb.net - 如何获取网站根目录的物理位置?

security - 足以满足当今网络应用程序要求的位加密是多少