SSL with port issue

I had Script build on nodejs
I’m using port lets say “11000”
the ssl working fine for url without port lets say
https://google.com >> working
https://google.com:1100 >> Not working securty issue
so how to make ssl work with any port I need ?!

Hello,

as per a stackoverflow answer on the same question, the situation is the following:

“A certificate for CN=example.com (common name is example.com) can be used for any (or multiple) ports, but your HTTP(S) server software will need to be A.) listening on each port for SSL connections and B.) be prepared and configured to provide the certificate for each connection on those ports.”

EDIT: So, use your certificate from above and follow the very helpful instructions for setting up SSL connections in Openlitespeed: SSL Setup – OpenLiteSpeed

Many thanks!

for what propose you are suing this port?