gpt4 book ai didi

https - Dotnet core 2.1.302 Ubuntu Linux 开发证书信任

转载 作者:行者123 更新时间:2023-12-04 01:13:52 27 4
gpt4 key购买 nike

我正在运行 ubuntu 18.04 并安装了 dotnet 2.1.302。我需要帮助信任开发人员证书以使用 https 运行我的 aspnetcore 应用程序。到目前为止,我设法从/home/alberto/.dotnet/corefx/cryptography/x509stores/ca 导入证书
和/home/alberto/.dotnet/corefx/cryptography/x509stores/my
在 chrome 中,但它们仍然显示不受信任。
网络搜索只显示了如何创建自己的证书并运行它,但如果可能的话,我只需要使用 MS 的证书进行开发。
任何帮助表示赞赏!

干杯,
阿尔贝托

最佳答案

没有集中的方式来信任 Linux 上的证书因此您可以执行以下操作之一:

  • 排除 URL您在浏览器中使用的排除列表
  • 信任 localhost 上的所有自签名证书
  • 添加 https.crt到浏览器中的受信任证书列表。

  • Configuring HTTPS in ASP.NET Core across different platforms如果您只使用 Kestrel ,还有文档链接或 Kestrel使用反向代理,如 Apache Nginx .

    关于https - Dotnet core 2.1.302 Ubuntu Linux 开发证书信任,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51566511/

    27 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com