HttpListener and SSL


R

Rok

Hi,

I have written a small web server using the HttpListener from .NET
framework 2.0. What I cannot get him to do is communicate over ssl.
Apparently I don't have to do anything in my code besides setting the
HttpListener to listen to https://localhost/ instead of
http:/localhost/.
I have created CA and server certificate using Openssl and also tried
with makecert but could not get it to work. i get the following message
in firefox:
"The connection was interrupted
The connection to localhost was interrupted while the page was
loading."

I have no IIS installed on my computer nor do I want to have it. So I
cannot use IIS admin utilities for setting up these things. I have used
httpcfg to register my server certificate but without success. I am
only using a server certificate, no client ones...

If anyone has an idea how to set it up, i will be grateful indefinitely
since i have lost 2 days over it already.

thanks,
Rok
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

HttpListener 0
HttpListener 0
HttpListener with OpenSSL 1
HttpListener and Cookies 1
Profiling HttpListener app 5
HttpListener and HTTP.sys questions 3
Binding HttpListener to a free port 3
SSL 0

Top