4

I am design a http server using .NET. Now, I want to make it as a https server. I basically use HttpListener to get http request from client. I know how to create a SSL certificate. But how can I configure the HttpListener to use that SSL certificate?

1

1 Answer 1

2

Just use the https prefix (e.g. https://*:8443). Then bind a certificate to this port.

See answer Walter Kelt: The steps to add SSL support

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.