Hi all,
i installed certbot on my bitnami server that is running apache and ubuntu 16.04.4 LTS.
I received an email telling me that i have to renew my certificates since they only work for 90 days max. But after typing “sudo certbot renew” I get the following errors listed below.
My domain is: https://unraceable-backbone.poa-ds-dev.de
I ran this command: sudo certbot renew
It produced this output:
bitnami@ip-172-26-1-52:/opt/bitnami/apache2/conf/bitnami$ sudo /opt/bitnami/ctlscript.sh stop
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd stopped
/opt/bitnami/php/scripts/ctl.sh : php-fpm stopped
/opt/bitnami/mysql/scripts/ctl.sh : mysql stopped
bitnami@ip-172-26-1-52:/opt/bitnami/apache2/conf/bitnami$ sudo certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/unraceable-backbone.poa-ds-dev.de.conf
Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for unraceable-backbone.poa-ds-dev.de
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (unraceable-backbone.poa-ds-dev.de) from /etc/letsencrypt/renewal/unraceable-backbone.poa-ds-dev.de.conf produced an unexpected error: Failed authorization procedure. unraceable-backbone.poa-ds-dev.de (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://unraceable-backbone.poa-ds-dev.de/.well-known/acme-challenge/qMMlD0Jcy0GfTec9CgajwHNY2QiwHAu98Jr6HntdyCU: Connection refused. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/unraceable-backbone.poa-ds-dev.de/fullchain.pem (failure)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/unraceable-backbone.poa-ds-dev.de/fullchain.pem (failure)
Running post-hook command: /opt/bitnami/ctlscript.sh restart apache
Output from ctlscript.sh:
Unmonitored apache
/opt/bitnami/apache2/scripts/ctl.sh : apache not running
/opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80
Monitored apache
Error output from ctlscript.sh:
Syntax OK
Syntax OK
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: unraceable-backbone.poa-ds-dev.de
Type: connection
Detail: Fetching
http://unraceable-backbone.poa-ds-dev.de/.well-known/acme-challenge/qMMlD0Jcy0GfTec9CgajwHNY2QiwHAu98Jr6HntdyCU:
Connection refusedTo 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.
My web server is (include version): Bitnami, Apache 2.4.33,
The operating system my web server runs on is (include version): Ubuntu 16.04.4 LTS
I can login to a root shell on my machine (yes or no, or I don’t know): yes, via putty
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): certbot 0.26.1