Import certificate with private key programmatically

后端 未结 3 1728
青春惊慌失措
青春惊慌失措 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:13

    Not exactly the answer to your question, but here for reference of others going down this path:

    Here is a link to a MS chat that gives sample C# code to do what httpcfg does, thus eliminating the need for the tool on deployment.

提交回复
热议问题