Running Http WebServer with SSL on Fez Raptor

Great place to start changing things to see what that does ! I can’t say I recall anyone else who complained about issues with a self signed cert so I can’t even start to think of options to change

OK…
Finally I used the netmf sample as it is mentioned in other threads

https://www.ghielectronics.com/community/forum/topic?id=10275&page=1

And I have exactly same problem. when code reaches to this line:


 HttpListenerContext context = listener.GetContext();

It returns error when calling a https request from the browser. and blocking code with try/catch don’t help.
It is noticed in above link that the error is due to wrong certificate (not adding private key to pem file)
so…
I have made a PEM certificate using SSL command as follow:


openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem

It makes a key and a cert file so I merged those in a single file. So content the file become like this:

But problem is not solved…
I think its the last step.
I know you there is a tutorial about making self-sign certificates. It was previously on the:

But, It seems that it is not exist anymore…
Thanks

Thanks