RTC Forums
November 23, 2024, 11:23:10 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: current project https support  (Read 4428 times)
Cesar
RTC Expired
*
Posts: 17


« on: May 11, 2016, 08:42:16 PM »

We have a server using the RTC components and we are pretty happy wiht it.

Now we need to support https on said project. I already bought the StreamSec component and ran the webforum example but there is simply too much logic to find how to properly setup my project.

So for the sake of simplicity here is my question:

Lets say i have an application with:
a TRtcHttpServer
a THRtcServerModule that responds to the /test filename
and 2 functions hooked to it via a functiongruop

the functions are ping, and echo

My questions is: what is the shortest series of steps  i need to follow to add make this server to respond to https using the StreamSec 2.3 component and the SSecServerPlugin?

Also if I can get to get this done, im planning on making a github with this simple sample so everyone in the future can learn from my experience.

Thanks,
César
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: May 12, 2016, 03:34:06 PM »

To CHANGE an existing HTTP Server into a HTTPS Server, you have to attach a 3rd-party encryption plugin to the CryptPlugin property of the TRtcHttpServer component. If you are using standard HTTP/S ports, change the ServerPort property on the TRtcHttpServer component from 80 (default port for HTTP) to 443 (default port for HTTP over SSL).

To EXTEND your Server to process HTTPS in addition to HTTP requests, you will need one (1st) TRtcHttpServer component listening on Port 80 for HTTP requests, plus a separate (2nd) TRtcHttpServer component listening on Port 443 with a 3rd-party encryption plugin setup and attached to its CryptPlugin property for HTTPS requests. If you want both Servers (HTTP and HTTPS) to process the same requests, you can use the TRtcDualDataServerLink component, which can be attached to both TRtcHTTPServer components.

If you have questions about creating, configuring and/or using 3rd-party encryption components and plugins, please contact the 3rd-party encryption component vendor directly.

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.