Install certificate on glassfish host inside firewall

Hello Connection…

I am trying to install Let’s encrypt Certificate with glassfish on Oracle linux 7.

The server located inside our firewall and have local IP address ( and Public IP ( Nating in Firewall.

When I trying to install Certi getting below error:

sudo certbot certonly --webroot --webroot-path=/opt/glassfish/glassfish3/glassfish/domains/domain1/docroot -d
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1):
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for
Using the webroot path /opt/glassfish/glassfish3/glassfish/domains/domain1/docroot for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from “\n\n404 Not Found\n\n

Not Found




It show that A record doesn’t exist but when I check A record on DNS Checker that its proper.

What’s the solution ??

Thanks in advance…

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