Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator webroot, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for efabs.london
http-01 challenge for www.efabs.london
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (efabs.london) from /etc/letsencrypt/renewal/efabs.london.conf produced an unexpected error: Failed authorization procedure. efabs.london (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://efabs.london/.well-known/acme-challenge/wnVRh72qfeOQL7HYXkL31kg6nn6GPUyxhS0FXAZ6eqw: Connection refused, www.efabs.london (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://www.efabs.london/.well-known/acme-challenge/BQU3RR-zI7NR99hQS1-iKoZ_LEBTjSmW4aeuRxKII8M: Connection refused. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/efabs.london/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/efabs.london/fullchain.pem (failure)
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates above have not been saved.)
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. 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):apache 2.4.35
The operating system my web server runs on is:
Distributor ID:
Debian
Description:
Debian GNU/Linux 9.5 (stretch)
Release:
9.5
Codename:
stretch
My hosting provider, if applicable, is:
N/A
I can login to a root shell on my machine (yes or no, or I don’t know): YES
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): NO
This will cause some confusion when testing with a browser.
The browser will obey the Strict-Transport-Security header and never try to connect to port 80. This hides the problem that in fact port 80 is not open on this server and connections to port 80 (such as by the Let’s Encrypt CA) will fail.
You have something active blocking the connection.
D:\temp>download http://www.efabs.london/ -h
Error (1): Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.
ConnectFailure
3
Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte 62.6.219.186:80
1175,87 milliseconds
1,18 seconds
Message is german, it's the same as "Connection refused". https answers in 0,37 second. Firewall, .htaccess or something else.
ok could not open port 80 in the end as my DDWRt ip tables must be buged and need rewriting. was thinking to do dns cert with command
certbot -d www.efabs.london; efabs.london --manual --preferred-challenges dns certonly
it came with successful certificate for www.efabs.london but command not found for efabs.london. why it changed plugin to apache ? I made mistake in command ( should be -d.
root@efabs:/etc/apache2/sites-enabled# certbot -d www.efabs.london; efabs.london --manual --preferred-challenges dns certonly
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for www.efabs.london
Waiting for verification…
Cleaning up challenges
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/efabs.london-le-ssl.conf
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if you’re confident your site works on HTTPS. You can undo this
change by editing your web server’s configuration.
Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel): 1
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/www.efabs.london/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/www.efabs.london/privkey.pem
Your cert will expire on 2019-01-08. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the “certonly” option. To non-interactively renew all of
your certificates, run “certbot renew”
If you like Certbot, please consider supporting our work by:
The tls-sni-01 challenge is deprecated and will be removed in one year. And you can't change the set of domain names, you can use this only to renew existing certificates.
Now you have one certificate with one domain name, not both.
how can i use tls-sni-01 on efabs.london
i would like to have one certificate for www.efabs.london & efabs.london.
yes cert bot is old as debian dose not have any newer version.
The name fields should be "_acme-challenge.www" and "_acme-challenge", respectively. GoDaddy automatically adds ".efabs.london" to the end, so you currently have these two records:
_acme-challenge.www.efabs.london.efabs.london. 3600 IN TXT "sZiGWsxatfRd1HEzFpCO2Rky7fpFjK3wRYS23H72w5I"
_acme-challenge.efabs.london.efabs.london. 3600 IN TXT "jUJ__yIaLXyQJR00YMPDjO89e41EUjuyT90sWWBO_z0"
ok i renewed certificate over DNS but now efabs.london shows wrong certificate.
they both point to www.efabs.london for one or other reason. any thoughts on that ?
and systemctl restart apache2
so i take its two certificates one for domain and one for sub-domain.
thanks every one for help. still dont know why my server redirects all over 443 and i can not access site over local ip on 80. if i get to bottom of it will post my findings.