Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 C# 中使用命令行将 x509 证书绑定到端口,如下所示 netsh http add sslcert ipport=0.0.0.0:{0} certhash={1} appid={2} clientcertnegotiation=enable
netsh http add sslcert ipport=0.0.0.0:{0} certhash={1} appid={2} clientcertnegotiation=enable
它工作正常。但是如果我重新启动计算机,我将需要从端口中删除证书并重新绑定它。为什么?有什么解决办法吗?
谢谢