Using Secure Websocket (wss://) in ios 11 for an Application
Hi,
We are developing an WebRtc server which uses websocket to get requests from browsers. The setup is like we have a websocket sever listening on some dynamic port to which browser connects. Insecure socket works well (ws://) and now we want to convert this to a secure channel, i,e wss://.
MAC Safari , chrome , firefox etc. has no issues connecting to secure web server(wss://). But iOS browsers are not able to connect to web server securely with self-signed certificate.
I have installed the certificate on iOS(iPhone 7) but I am getting same error all the time.
WebSocket network error: OSStatus Error -9807: Invalid certificate chain
Any ideas (or) suggestions on how to achieve secure websocket communication with iOS browsers.
Thanks