RTC Forums
March 28, 2024, 01:56:45 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: WebSocket over SSL  (Read 2760 times)
ISIGest
RTC Expired
*
Posts: 121


« 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?
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.023 seconds with 16 queries.