Import certificate with private key programmatically

后端 未结 3 1675
青春惊慌失措
青春惊慌失措 2021-01-31 22:12

I\'m trying to use the HttpListener class in a C# application to have a mini webserver serve content over SSL. In order to do this I need to use the httpcfg tool. I have a .pf

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-31 23:02

    Is this a 2 way SSL? If it is then did you send over a SSL Certificate Request file generated on your machine? This Certificate Request file will be used to create the SSL and they together form a public private key pair.

    Also did you try assigning the cert permission for the user account that is being used to run the web app? You can do this by using the Microsoft WSE 3.0 tool.

提交回复
热议问题