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:https://blog.miguelgrinberg.com/post/running-your-flask-application-over-https . 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 sciscinet.com
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 sciscinet.com
Using the webroot path /home/ubuntu/microblog for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. sciscinet.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://sciscinet.com/.well-known/acme-challenge/kPmDuNyHDsfxvcxC3tysX5hhg30fSUxzjKKaiUvQ6zc: Error getting validation data

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: sciscinet.com
    Type: connection
    Detail: Fetching
    http://sciscinet.com/.well-known/acme-challenge/kPmDuNyHDsfxvcxC3tysX5hhg30fSUxzjKKaiUvQ6zc:
    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 http://sciscinet.com/ return a redirect to https://\sciscinet.com\/. 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.