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

Posted on Aug 13, 2018 1:04 AM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using Secure Websocket (wss://) in ios 11 for an Application

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.