Am I supposed to have a folder named /.well-known/acme-challenge/ on my server I've never hear of it. Why wasn't it in the instructions. Renew always times out. Certbot installed fine since installing we have only updated OS files and PHP. Is it supposed to be an alias for a letsencrypt folder?
My domain is: access.library.newpaltz.edu
I ran this command: certbot renew --dry-run
It produced this output:
sudo certbot renew --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/access.library.newpaltz.edu.conf
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator apache, Installer apache
Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for access.library.newpaltz.edu
Waiting for verification...
Challenge failed for domain access.library.newpaltz.edu
http-01 challenge for access.library.newpaltz.edu
Cleaning up challenges
Error while running apachectl graceful.
Job for httpd.service invalid.
Unable to restart apache using ['apachectl', 'graceful']
Attempting to renew cert (access.library.newpaltz.edu) from /etc/letsencrypt/renewal/access.library.newpaltz.edu.conf produced an unexpected error: Some challenges have failed.. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/access.library.newpaltz.edu/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/access.library.newpaltz.edu/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: access.library.newpaltz.edu
Type: connection
Detail: Fetching
http://access.library.newpaltz.edu/.well-known/acme-challenge/iVzgOQ5bYdDlY2Y_uVEdjZXz3lSv-pd3xtw8WKdDACE:
Connection reset by peerTo 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. -
Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
My web server is (include version): apache 2.4
The operating system my web server runs on is (include version): red hat 7
My hosting provider, if applicable, is: college hosted at SUNY New Paltz
I can login to a root shell on my machine (yes or no, or I don't know): yes
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):1.7.0