Configure a Port with an SSL Certificate w\\o using Httpcfg

心已入冬 提交于 2019-12-06 09:08:13

Have a look here: an open source C# UI for configuring HTTP.SYS that directly drives the API. This should get you an idea of the code necessary for configuring the certs.

For those tuning in a couple of years later:

This article from Mike Bouck's RAM has a clean C# wrapper for the http.sys api.

Таке а look on https://github.com/segor/SslCertBinding.Net It also has nuget available

 Install-Package SslCertBinding.Net

and does what you need perfectly. Thanks to the author.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!