can i use some record to create websocket or socket connections protected with ssl wildcard ?

waldemarlima

Verified User
Joined
Jul 17, 2020
Messages
11
Hi guys, its that seems a somewhat "curious" question and I think it's even audacious of me to think about something about it. but I have a question and I would be grateful if someone would enlighten me...

I have a windows VPS, which I created a Socket and another WebSocket application, both made in C++, however, I don't know how to implement TLS directly in the applications using C++ code...

my question is:

assuming that this windows VPS, is ip: 123.123.123.120, the socket application listens on port 5532 and the websocket listens on port 5235.

creating, two Client connection address ( 123.123.123.120:5532 and ws://123.123.123.120:5235 )

knowing the connection addresses, I buy an SSL WildCard certificate for the entire domain and its respective subdomains.

there is some kind of record, that I can create a subdomain and from that subdomain I configure the Client connection addresses behind them.

assuming that : server01.mydomain.com I configure it to lead to : 123.123.123.120:5532

server02.mydomain.com I configure so that it leads to : 123.123.123.120:5235

knowing these settings, I would like a way that the connection up to 123.123.123.120 is secure using the SSL configured in the DirectAdmin panel...

I don't know if I explained it well, but I hope you understand ...

I appreciate the attention!
 
Back
Top