ws security - Making requests to ws:// from a website loaded on https -


i'm using sipml5 connect sip phone service , 1 of setting service websocket server url. problem server url not secured (ex. ws://123.123.123.123:9999/ws) , cannot accessed on wss://. because of that, when loading site on https connection, browser blocks request automatically, doesn't behave when loading let's say, image on http, , shows warning.

error is: [blocked] page @ 'x' loaded on https, ran insecure content 'ws://....': content should loaded on https.

i need know if there way make browser connect ws:// though page initializing request loaded on https. please help.

edit: i'm looking flag or that, in chrome or firefox example, lets user access insecure resources though page loaded on https.

why using http? can ssl certificate https://letsencrypt.readthedocs.org/en/latest/intro.html

then add following details http.conf

tlsenable=yes tlsbindaddr=0.0.0.0:8089 tlscertfile=/path-to/cert.pem tlsprivatekey=/path-to/privkey.pem 

Comments