SSL for PortForwarded local webserver, whose IP is Pointed by a registered domain name[HELP]

Hello there,
I have port forwarded to make my localhost (local server) publicly available. But that local server was accessible with following link
http:// 119.56.1.78:8080/myapp
I am planing to buy a Domain name (for Eg. ‘mydomain.com’) which points to IP address 119.56.1.78 and it is a public IP address. Now I read that SSL certificate is not given to a localhost or local server. But I will be the legit owner of that Domain and I Want to know if I can get SSL certificate for that mydomain.com on this scenario?
Thanks!

You could get a certificate for your domain that pointed to a public accessible IP address, and could pass validations (either DNS or HTTP)

However, even if you could get the certificate for your domain, you could only use https://your-domain.com instead of http://119.56.1.78:8080 since the certificate is issued to the domain, not the IP address (and it would throw error if you use direct IP)

Also, please note that in order to pass HTTP-based validation, you will need to make the challenge file / web server accessible at (at least) port 80, because that's where Let's Encrypt would connect and check validations. If port 80 (of that public IP) is not available, please try to use DNS-based validations instead (adding TXT challenge tokens to your domain DNS).

Thank you

Thank you for reply. So where does ACME Protocal needed to run? In local host (http://119.56.1.78:8080) or that at the hosting of my domain registar?

Hi @Arun34

please read the basics:

and

Then select a client.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.