如何在 Visual Studio 中将 SSL 证书从本地主机更改为其他证书

How to change SSL certificate from localhost to something else in Visual Studio

我将 Visual Studio 项目从 https://localhost:port_number to https://ip_address:port_number 更改为 url。我确实创建了一个自签名证书,其中 DNS 名称是实际 IP 地址。如何使我的项目使用新的自签名证书而不是具有 DNS 名称 locahost 的自签名证书。

我终于找到了解决办法。这是博客的 link,其中基本上阐明了它是如何完成的。 https://wp.sjkp.dk/custom-domains-and-ssl-bindings-with-iis-express/