Reputation: 119
I have a domain and SSL certificate with GoDaddy.com and hosting with DigitalOcean. My domain is working with SSL but SSL not providing security to different port numbers.
example: https://example.com is working but https://example.com:1234 is not working
What should I do now? Is there any way to achieve this..?
Upvotes: 3
Views: 1519
Reputation: 3133
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.
Do you have multiple applications running across those different ports? Each application HTTP server may need to be configured to listen (SSL mode) on that port and serve the SSL certificate for those connections.
Upvotes: 3