Failed authorization procedure. www.skiddlebop.com (tls-sni-01) [SOLVED]

I realize this topic is popular, however I still can’t seem to find a solution. It appears I’m having a connection problem. Any help will be appreciated.

Btw, my router is set to allow port 443 connections (it works). Also, I am not a server expert. Also worth noting, I am hosting numerous websites from the same server.

My domain is: skiddlebop.com

I ran this command: sudo certbot --apache -d skiddlebop.com -d www.skiddlebop.com

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for skiddlebop.com
tls-sni-01 challenge for www.skiddlebop.com
Enabled Apache socache_shmcb module
Enabled Apache ssl module
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. www.skiddlebop.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Error getting validation data, skiddlebop.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Error getting validation data

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

   Domain: www.skiddlebop.com
   Type:   connection
   Detail: Error getting validation data

   Domain: skiddlebop.com
   Type:   connection
   Detail: Error getting validation data

   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): Ubuntu 16.04

The operating system my web server runs on is (include version): Apache 2

My hosting provider, if applicable, is: self-hosted

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

SOLUTION:

My problem turned out to be easy to fix. I forgot to enable the SSL module in apache. Here’s the fix:
sudo a2enmod ssl, followed by sudo service apache2 restart, then followed by apache2ctl -M to confirm the module was installed.

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