Hello. Having an issue with generating a new cert.
My domain is: bridgend.kier.co.uk
I ran this command: sudo certbot --apache
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Which names would you like to activate HTTPS for?
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel):1
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for bridgend.kier.co.uk
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. bridgend.kier.co.uk (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Timeout
The following errors were reported by the server:
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A 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.18
The operating system my web server runs on is (include version): Ubuntu 16.04
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
I have generated SSL certs on two different servers with the Certbot before using the same command
certbot --apache without any issues.
I also tried using the
webroot but it returns a 403 Forbidden error on
./well-known/acme-challenge (I ran
chmod 777 and
chowned the directory recursively as well). But I would still prefer to run the auto certbot command for apache.
Thanks in advance.