My domain is: www.spendwithfriends.com
I ran this command: sudo certbot certonly --webroot -d spendwithfriends.com -d www.spendwithfriends.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 spendwithfriends.com
http-01 challenge for www.spendwithfriends.com
Input the webroot for spendwithfriends.com: (Enter âcâ to cancel): /opt/tomcat/webapps/
Select the webroot for www.spendwithfriends.com:
1: Enter a new webroot
2: /opt/tomcat/webapps
Select the appropriate number [1-2] then [enter] (press âcâ to cancel): 2
Waiting for verificationâŚ
Challenge failed for domain spendwithfriends.com
Challenge failed for domain www.spendwithfriends.com
http-01 challenge for spendwithfriends.com
http-01 challenge for www.spendwithfriends.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: spendwithfriends.com
Type: unauthorized
Detail: Invalid response from http://spendwithfriends.com/login
[52.165.170.145]: â\n\n<html lang=âenâ>\n
\n\n\t\n\t<meta charset=âutf-8â />\n\t\n\tSpend With
Friends\n\t\n\t<!-- Bootstrap coâDomain: www.spendwithfriends.com
Type: unauthorized
Detail: Invalid response from http://www.spendwithfriends.com/login
[52.165.170.145]: â\n\n<html lang=âenâ>\n
\n\n\t\n\t<meta charset=âutf-8â />\n\t\n\tSpend With
Friends\n\t\n\t<!-- Bootstrap coâ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.
Also, after stopping tomcat, I tried this command: sudo certbot certonly --standalone -d www.spendwithfriends.com -d spendwithfriends.com
Which provided this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for spendwithfriends.com
http-01 challenge for www.spendwithfriends.com
Waiting for verificationâŚ
Challenge failed for domain spendwithfriends.com
Challenge failed for domain www.spendwithfriends.com
http-01 challenge for spendwithfriends.com
http-01 challenge for www.spendwithfriends.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: spendwithfriends.com
Type: connection
Detail: Fetching
http://spendwithfriends.com/.well-known/acme-challenge/r2co8d7nU20FZkaEDrM7nTnaAdPq1E1e2wrfsKh9x0E:
Timeout during connect (likely firewall problem)Domain: www.spendwithfriends.com
Type: connection
Detail: Fetching
http://www.spendwithfriends.com/.well-known/acme-challenge/BRQcxvwamBaNxpEM78UKrJtllNlSaTV6dqcVmjhoiGo:
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.
Iâve spent several days addressing different approaches and none seem to work. Any help would be greatly appreciated.
My web server is (include version): Tomcat/8.5.32
The operating system my web server runs on is (include version): RHEL Version 7.6
My hosting provider, if applicable, is: n/a
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.34.2