I have port forwarded to make my localhost (local server) publicly available. But that local server was accessible with following link
I am planing to buy a Domain name (for Eg. ‘mydomain.com’) which points to IP address 184.108.40.206 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?
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://220.127.116.11: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 for reply. So where does ACME Protocal needed to run? In local host (http://18.104.22.168:8080) or that at the hosting of my domain registar?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.