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.
I have made the .well-known directory writable by apache, but the acme-challenge directory isn’t created when I run the certonly command.
Show all that happens next.
Or/also show the Letsencrypt log file.
[it is likely that certbot is unable to properly locate where to place the challenge files]
VirtualHost configuration:
127.0.0.1:8080 is a NameVirtualHost
default server mei.edu (/etc/httpd/conf.d/1-mei-edu.conf:4)
port 8080 namevhost mei.edu (/etc/httpd/conf.d/1-mei-edu.conf:4)
alias www.mei.edu
alias education.mei.edu
wildcard NameVirtualHosts and default servers:
*:80 mei.edu (/etc/httpd/conf.d/1-mei-edu.conf:26)
*:443 is a NameVirtualHost
default server mei.edu (/etc/httpd/conf.d/1-mei-edu.conf:34)
port 443 namevhost mei.edu (/etc/httpd/conf.d/1-mei-edu.conf:34)
alias www.mei.edu
alias education.mei.edu
port 443 namevhost webster.mei.edu (/etc/httpd/conf.d/ssl.conf:74)
Syntax OK
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel): 2
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for education.mei.edu
Waiting for verification…
Challenge failed for domain education.mei.edu
http-01 challenge for education.mei.edu
Cleaning up challenges
Some challenges have failed.
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.
I commented out the three lines above and added the new ServerName and restarted Apache. I still get the same response when I run the certonly command. Something else I need to do in the Apache config? Thanks.
127.0.0.1:8080 is a NameVirtualHost
default server mei.edu (/etc/httpd/conf.d/1-mei-edu.conf:4)
port 8080 namevhost mei.edu (/etc/httpd/conf.d/1-mei-edu.conf:4)
alias www.mei.edu
alias education.mei.edu
wildcard NameVirtualHosts and default servers:
*:80 education.mei.edu (/etc/httpd/conf.d/1-mei-edu.conf:26)
*:443 is a NameVirtualHost
default server mei.edu (/etc/httpd/conf.d/1-mei-edu.conf:35)
port 443 namevhost mei.edu (/etc/httpd/conf.d/1-mei-edu.conf:35)
alias www.mei.edu
alias education.mei.edu
port 443 namevhost webster.mei.edu (/etc/httpd/conf.d/ssl.conf:74)
Syntax OK