Error to install Let's Encrypt in aws ubuntu server

Hi I am installing the Let’s Encrypt in aws ubuntu server following with this guy’s tutorial: . But there is error as following, before I created the lets encrypt, my domain can point to nginx default web page:

sudo certbot certonly --webroot -w /home/ubuntu/microblog -d
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for
Using the webroot path /home/ubuntu/microblog for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching Error getting validation data


  • The following errors were reported by the server:

    Type: connection
    Detail: Fetching
    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.

HTTP requests to return a redirect to https://\\/. I’d guess that the strange backslashes need to be removed.

hi thanks! How to remove’ /'this? where?

this is the domain information in godaddy.

It has nothing to do with DNS, but with your webserver configuration.

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