Trouble creating certificate for jboss EAP


#1

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: test.bizapps4me.com

I ran this command:
certbot certonly --webroot -w /jboss-eap-7.0/welcome-content -d test.bizapps4me.com

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for test.bizapps4me.com
Using the webroot path /jboss-eap-7.0/welcome-content for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. test.bizapps4me.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://test.bizapps4me.com/.well-known/acme-challenge/0bN-JRFLgABcw5Q0TD3N_Xf10ezstzbLMNAroOOIDho: Timeout during connect (likely firewall problem)

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: test.bizapps4me.com
    Type: connection
    Detail: Fetching
    http://test.bizapps4me.com/.well-known/acme-challenge/0bN-JRFLgABcw5Q0TD3N_Xf10ezstzbLMNAroOOIDho:
    Timeout during connect (likely firewall problem)

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA record(s) for that domain
    contain(s) the right IP address. Additionally, please check that
    your computer has a publicly routable IP address and that no
    firewalls are preventing the server from communicating with the
    client. If you’re using the webroot plugin, you should also verify
    that you are serving files from the webroot path you provided.

My web server is (include version): jboss eap 7

The operating system my web server runs on is (include version): oracle linux 7.5

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.29.1

Additional info:
we use iptable forwarding rules to forward port 80 traffic to port 8080 where jboss listens.


#2

Your server needs to be accessible from the external internet. Currently, no outside traffic can reach port 80 of 71.127.49.246 (nor any other port that I can find).


#3

Are you on the system that test point to (71.127.49.246)?
Check with:
curl -4 ifconfig.me

If same, …
Is there some other firewall device inline?
Does your ISP (MCI Communications Services, Inc. d/b/a Verizon Business) block port 80?


#4

That was it. Once it was visible outside the lan, the certificate created.

Thank you very much.


#5

Thank you. Yes it did turn out to be a firewall issue.