Score:0

SSL certificate for subdomain, which is routed to public IP masked on firewall, which navigates to local server

vc flag
  1. I have a web application hosted on local server. Which we have opened for public use by masking this local IP to public IP provided by ISP. So now website is accessible with public IP.

  2. We required to make it used by https, so I generated the SSL Certificate on public IP from zero SSL. This is working without any issue.

  3. Now there is need to use this web application with URL with domain name instead of IP. I created sub domain from the cPanel of our website and directed it to Public IP by editing A Records for sub domain. Now web application is accessible with URL as required but it takes SSL certificate generated for public IP, so shows alert icon on URL bar.

So current scenario is, when web application is opened, request goes to my Hosting server, which route to firewall masked public IP because of "A" Record configuration at cPanel host. This request further goes to local IP of my web app server. Subdomain on domain hosting --> Public IP on firewall --> Local Server

Is there any way to, generate SSL Certificate for subdomain and assign directly to server? Directly giving public IP to local server is one solution, but we want to avoid it. Any other solutions are accepted.

Lex Li avatar
vn flag
https://docs.jexusmanager.com/tutorials/https-binding.html#background You will have to add the right certificate to Windows HTTP API.
jatz2012 avatar
vc flag
With trial and error, I understood that, it doesn't matter, whatever route request goes from client to server, but if SSL certificate of same URL/IP entered in client's browser is available at the server, it will resolve to successful https connection. So in my case as @LexLi said I just had to add SSL with subdomain name. I checked your comment later but it was adequate to confirm what I found after trying myself. - Thanks
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.