I installed on my home server OwnCloud on Ubuntu Server 16.04. Then I pointed the subdomain server.xxxx.com to the IP of the server. After that I created a let’t encrypt certificate. The problem is that when I created an “A” DNS record in the domain control panel I wrote a wrong IP address(.117 instead of .107). I fixed the “A” record but when I tried to regenerate the certificate I got this error:
miroslavpetrov@ubuntu:~$ sudo certbot --apache -d server.xxxxxxx.com [sudo] password for miroslavpetrov: Saving debug log to /var/log/letsencrypt/letsencrypt.log Obtaining a new certificate Performing the following challenges: tls-sni-01 challenge for server.xxxxxxxxxxxx.com Enabled Apache socache_shmcb module Enabled Apache ssl module Waiting for verification... Cleaning up challenges Failed authorization procedure. server.xxxxxxxxx.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Timeout IMPORTANT NOTES: - The following errors were reported by the server: Domain: server.xxxxxxxxx.com Type: connection Detail: Timeout 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. miroslavpetrov@ubuntu:~$
Thank you in advance!