You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create Certificate on Windows: makecert -r -pe -n "CN=myserver" -e 12/02/2023 -ss my -sr localmachine -sky signature -r mycert.cer
Code:
var x509 = new System.Security.Cryptography.X509Certificates.X509Certificate2("mycert.cer");
HttpListener = new SocketHttpListener.Net.HttpListener(x509);
HttpListener.Prefixes.Add("https://+:8080/");
No problem on Windows !
However, trying same under Linux starting the server.
Opening the page via webbrowser gives the usual warnings that the certificate is not trustful...
Setting an exception for the webpage in the browser (i.e. Firefox) should load the page furher, but nothing happens. The browser ist loading and loading and loading...
Trying Mono´s HttpListener on https://*:8080/ use the included certificate by httpcfg.lead to no problems.
Can anyone confirm or solve the problem ?
The text was updated successfully, but these errors were encountered:
Trying to generate an HTTPS server.
Create Certificate on Windows: makecert -r -pe -n "CN=myserver" -e 12/02/2023 -ss my -sr localmachine -sky signature -r mycert.cer
Code:
var x509 = new System.Security.Cryptography.X509Certificates.X509Certificate2("mycert.cer");
HttpListener = new SocketHttpListener.Net.HttpListener(x509);
HttpListener.Prefixes.Add("https://+:8080/");
No problem on Windows !
However, trying same under Linux starting the server.
Opening the page via webbrowser gives the usual warnings that the certificate is not trustful...
Setting an exception for the webpage in the browser (i.e. Firefox) should load the page furher, but nothing happens. The browser ist loading and loading and loading...
Trying Mono´s HttpListener on https://*:8080/ use the included certificate by httpcfg.lead to no problems.
Can anyone confirm or solve the problem ?
The text was updated successfully, but these errors were encountered: