I installed letsencrypt before almost 90 days and I am trying to renew it but apparently I am doing something wrong.
I ran this command:
and received this error:
- The following errors were reported by the server:
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.
I tried to fix the issue and changed the IP addresses but I am not sure if did something wrong… totally new to this field.
I am using aws lightsail I have one record set of type A and updated the domain nameservers with the nameservers provided by dns zone.
the site is a wordpress - ubuntu.
the domain is: belladonnadubai.com
thanks in advance
Did you modify something in that URL? Or does Let's Encrypt really trying to fetch
Because if so, it looks like a wrong redirect.
Ah yes, the redirect is all borked:
osiris@client ~ $ curl -vI http://www.belladonnadubai.com/.well-known/acme-challenge/8agv_Xgu4uhrJxbjfh0pmTmOHCw_Hw3Ke8oRz10V7Hs
* Trying 184.108.40.206...
* TCP_NODELAY set
* Connected to www.belladonnadubai.com (220.127.116.11) port 80 (#0)
> HEAD /.well-known/acme-challenge/8agv_Xgu4uhrJxbjfh0pmTmOHCw_Hw3Ke8oRz10V7Hs HTTP/1.1
> Host: www.belladonnadubai.com
> User-Agent: curl/7.61.1
> Accept: */*
< HTTP/1.1 302 Found
HTTP/1.1 302 Found
< Date: Sat, 12 Jan 2019 11:05:37 GMT
Date: Sat, 12 Jan 2019 11:05:37 GMT
< Server: Apache
< X-Frame-Options: SAMEORIGIN
< Location: https:///.well-known/acme-challenge/8agv_Xgu4uhrJxbjfh0pmTmOHCw_Hw3Ke8oRz10V7Hs
< Content-Type: text/html; charset=iso-8859-1
Content-Type: text/html; charset=iso-8859-1
* Connection #0 to host www.belladonnadubai.com left intact
osiris@client ~ $
I guess not only Let's Encrypt can't reach your site, nobody can!!!
I see, you have your domain already testet via https://check-your-website.server-daten.de/?q=belladonnadubai.com
There is one wrong redirect:
Your domain redirects to the empty name, so the result is
So check your configuration to find this wrong redirect. May be your wordpress setting or in your Apache config file, the vHost port 80.
I can reach it here: https://www.belladonnadubai.com/
and no I didn’t changed anything!!!
This is your https - site, not your http - site.
Browsers are caching redirects, so you can't see the problem with your browser. Instead, use online tools or raw tools like wget or curl.
Your http has the wrong redirect.
–2019-01-12 21:07:44-- http://www.belladonnadubai.com/
Resolving www.belladonnadubai.com (www.belladonnadubai.com)… 18.104.22.168
Connecting to www.belladonnadubai.com (www.belladonnadubai.com)|22.214.171.124|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: https:/// [following]
https:///: Invalid host name.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.