Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1525

web browser: localhost ws + https

$
0
0

i did a ws server for user's device that connects to localhost
my website connects to the local ws server to make certain operations in user's device
this worked perfectly until i switched from http to https
https sites can't connect to ws, only to wss
so i want to do a reverse proxy that converts ws to wss, the problem is i need a SSL certificate
this is really important to my page since the fun part of it is the ws in device

i saw this problem in a lot of places, and doesn't seem to be many people who solved it and told which was the solution, or there is not enough info, or the info is not detailed, so i expect this post to help other people with this problem in the future with detailed info and possible solutions

- my list of throughs:

1st:
idea: using a public certificate
problem: a hacker can get the private key from the server's binary and revoke the public certificate

2nd:
idea: using a self-signed certificate
problem:Chrome & Firefox seems to not accept self-signed certificates

i have not more ideas, but a way to get a solution cloud be knowing how Dropbox does this


Viewing all articles
Browse latest Browse all 1525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>