I have a local http service application running on OSX (hosted through Mono/OWIN) that I want to access on https instead. The service itself is easily configured to require https, but the local bit is causing trouble.
On Windows I solved this by binding an SSLCert to the local port with the command
netsh http add sslcert ipport=0.0.0.0:8000 appid={xyzw} certhash=XYZW
which then means any access to https://127.0.0.1:8000 is verified against the given certificate and allowed.
I have no idea where to look for the OSX equivalent though. Most references to SSL certificates are in the context of Apache, which is not involved in my use case, and tools like iwconfig or others I've looked at don't seem to have the required functionality.
https
support, SSL/TLS, you need to have the web server started by SignalR manage the encryption and certificates. Alternatively, trystunnel
mentioned in the answer below – this is precisely the type of situationstunnel
and reverse-proxies are design for. – Graham Miln May 3 '16 at 17:50