Error Generating SSL Certificate

I am having trouble setting up my SSL certificate on a fresh installation of apache2 with certbot (on Debian 10 linux).

My domain is: d-multi.com

I ran this command: sudo certbot --apache

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
No names were found in your configuration files. Please enter in your domain
name(s) (comma and/or space separated)  (Enter 'c' to cancel): d-multi.com
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for d-multi.com
Enabled Apache rewrite module
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. d-multi.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://d-multi.com/.well-known/acme-challenge/s6DgPj30InuzavRL4y4faaS3sozRmVOH3MUB0zl_0gw: Error getting validation data

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: d-multi.com
   Type:   connection
   Detail: Fetching
   http://d-multi.com/.well-known/acme-challenge/s6DgPj30InuzavRL4y4faaS3sozRmVOH3MUB0zl_0gw:
   Error getting validation data

   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): Apache2

The operating system my web server runs on is (include version): Debian 10 (Buster)

My hosting provider, if applicable, is: My own personal Supermicro server.

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.31.0

1 Like

I can’t connect to your server too. See also for example sites like https://downforeveryoneorjustme.com/d-multi.com

Your webserver needs to be reachable on port 80 to get the http-01 challenge to succeed.

1 Like

Do you have any ideas on how I can fix that? It is working on port 443, but that is no good because I don’t have an SSL.

Open port 80 in your firewall and/or, if applicable, make a portmap on port 80 in your NAT router.

1 Like

Thanks, I was pretty sure I had opened the port, but apparently the configuration didn’t save. Thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.