Hey, guys!
My domain is: treinamento.branetlogistica.com.br
I ran this command: /etc/certbot-auto certonly --staging
It produced this output: I chose “1” for standalone mode and it returned this:
How would you like to authenticate with the ACME CA?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Spin up a temporary webserver (standalone)
2: Place files in webroot directory (webroot)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1
Plugins selected: Authenticator standalone, Installer None
Please enter in your domain name(s) (comma and/or space separated) (Enter 'c'
to cancel): treinamento.branetlogistica.com.br
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for treinamento.branetlogistica.com.br
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. treinamento.branetlogistica.com.br (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://treinamento.branetlogistica.com.br/.well-known/acme-challenge/oJAfjxqQb9BwnweSfIe9dmY8wm_yWcN9ldKByQ1wfhQ: "<!doctype html>\r\n<html>\r\n\t<head>\r\n\t\t<meta charset=\"utf-8\"/>\r\n\t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>\r\n\t\t<meta n"
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: treinamento.branetlogistica.com.br
Type: unauthorized
Detail: Invalid response from
http://treinamento.branetlogistica.com.br/.well-known/acme-challenge/oJAfjxqQb9BwnweSfIe9dmY8wm_yWcN9ldKByQ1wfhQ:
"<!doctype html>\r\n<html>\r\n\t<head>\r\n\t\t<meta
charset=\"utf-8\"/>\r\n\t\t<meta http-equiv=\"X-UA-Compatible\"
content=\"IE=edge\"/>\r\n\t\t<meta n"
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.
My web server is (include version): Tomcat 7
The operating system my web server runs on is (include version): CentOS 6
I am root and port 80 is open.
What am I doing wrong?
Thank you already!