RTC Forums

Subscription => Support => Topic started by: ISIGest on May 18, 2017, 12:19:40 PM



Title: WebSocket over SSL
Post by: ISIGest on May 18, 2017, 12:19:40 PM
Hi Danijel, Ive a NodeJS WebSocket server listening on a custom port SSL.
I try you demo by changing the HTTPClient setting the UseSSL but it does not work.
Can you help me please?


Title: Re: WebSocket over SSL
Post by: D.Tkalcec (RTC) on May 18, 2017, 01:11:44 PM
Because WebSockets ONLY work over socket-based APIs (WinSock on Windows, POSIX on all other platforms), for the TRtcHttpClient component to work with WebSockets, you have to leave its "useSSL", "useProxy", "useWinHTTP" and "UserLogin" properties at their default values (FALSE or unassigned). Assigning any other value to one of these properties makes it impossible to use that component for WebSockets. If you need WebSockets over SSL, you have to use a 3rd-party encryption plugin (StreamSec Tools/Mobile from StreamSec or SecureBlackBox from Eldos) to add SSL/TLS encryption to your connection component.

Best Regards,
Danijel Tkalcec