Having issues to generate a SSL Certificate on my server


Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: akiraff.com

I ran this command: ./certbot-auto certonly --standalone

It produced this output:

Failed authorization procedure. akiraff.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://akiraff.com/.well-known/acme-challenge/mR3lG6A3p_F2qM8iDSMOthCwpeS41OZHi88lOLo3OVY: Connection refused, www.akiraff.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://www.akiraff.com/.well-known/acme-challenge/_gmPD5fRZtIseJDjfX-BmSs7g_LNuTNdYFGOE7sS-Zk: Connection refused

 - The following errors were reported by the server:

   Domain: akiraff.com
   Type:   connection
   Detail: Fetching
   Connection refused

   Domain: www.akiraff.com
   Type:   connection
   Detail: Fetching
   Connection refused

   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): NodeJS/Express v4.16

The operating system my web server runs on is (include version): Ubuntu 14.04

My hosting provider, if applicable, is: DNS (Godaddy) and being managed by CloudFare

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): Via SSH/Unbutu Terminal

My domains are pointing to the correct location. I did added a condition where all ports 3000 which automatically redirect port 80. But other than that been having this problem for the whole day.


Hi @Qwerty1,

It seems that firewall / something is blocking your server port 80 and 443.

In order for certbot to validate through http validation, you would need to allow port 80 (at least)

Also, just make sure… your DNS seems to be hosted on digitalocean (all ns are from digitalocean.com).
If you are using digitalocean’s DNS service, you can use this plugin to validate certbot challenges through dns. (Aka validate using txt records)
Please refer to the following guide for more information.

Thank you


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