Hi,
I’m working with a rather old server (RHEL 5). After some struggle (compiling openssl and python, then setting certain obscure flags), I finally got letsencrypt to run. The machine runs Apache web server 2.2.3. Upon issuing the following command:
/usr/local/letsencrypt/certbot/letsencrypt-auto certonly --webroot -w /var/www/html -d eprint01.cameron.edu,
I get the message:
Failed authorization procedure. eprint01.cameron.edu (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Could not connect to eprint01.cameron.edu
I inspected the log file in /var/log/letsencrypt/letsencrypt.log. It shows:
Connection: keep-alive
{
“identifier”: {
“type”: “dns”,
“value”: “eprint01.cameron.edu”
},
“status”: “invalid”,
“expires”: “2017-04-27T16:22:44Z”,
“challenges”: [
{
“type”: “http-01”,
“status”: “invalid”,
“error”: {
“type”: “urn:acme:error:connection”,
“detail”: “Could not connect to eprint01.cameron.edu”,
“status”: 400
},
“uri”: “https://acme-v01.api.letsencrypt.org/acme/challenge/o2jiLQK0vvwv6tBmandHdryuiCN2If0AG0XeQGx-Fe8/1056429074”,
“token”: “aZvcs9YE3eMTiuEmdLBAYj3o9vskakis5CJxPOShCjA”,
“keyAuthorization”: “aZvcs9YE3eMTiuEmdLBAYj3o9vskakis5CJxPOShCjA.6IcBT17Xguy9NWmdYbHKlyI2JJQbMbDrD46qjnNnUDw”,
“validationRecord”: [
{
“url”: “http://eprint01.cameron.edu/.well-known/acme-challenge/aZvcs9YE3eMTiuEmdLBAYj3o9vskakis5CJxPOShCjA”,
“hostname”: “eprint01.cameron.edu”,
“port”: “80”,
“addressesResolved”: [
“164.58.112.58”
],
“addressUsed”: “164.58.112.58”
}
]
},
{
“type”: “tls-sni-01”,
“status”: “pending”,
“uri”: “https://acme-v01.api.letsencrypt.org/acme/challenge/o2jiLQK0vvwv6tBmandHdryuiCN2If0AG0XeQGx-Fe8/1056429075”,
“token”: “ORaKGqBc1Y673FbUn0dfhGoC2bxfKrLBf2J3rpIUj5o”
},
{
“type”: “dns-01”,
“status”: “pending”,
“uri”: “https://acme-v01.api.letsencrypt.org/acme/challenge/o2jiLQK0vvwv6tBmandHdryuiCN2If0AG0XeQGx-Fe8/1056429076”,
“token”: “oO-uk3wQJYE_KL63EExmlk8V4bAouKXzfzYUuHs-6l4”
}
],
“combinations”: [
[
1
],
[
0
],
[
2
]
]
}
Originally, I thought this was a firewall issue. I pinged acme-v01.api.letsencrypt.org, and found the ip address to be 184.86.145.80. I had my network admin create a rule to allow traffic from this ip through the firewall on ports 80 and 443. I tried again and still received the same error. I went as far completely shutting down the firewall on the server (not on the entire network). Still received the same error message.
I have tested my web root directory (/var/www/html) and ensured that files placed there and in sub folders are accessible.
Does anyone know of what I might be doing wrong?
Thank you.