Cant connect to /.well-known/acme-challenge


#1

My domain is: blog.vostropower.tk (park domain of a 000webhost domain)

I use https://www.sslforfree.com/ to get ssl. I cant connect to that file path (tittle),it said there is nothing there, i check in f12 and it said it is 404 error. i tried redirect all http to https (with htaccess), redirect 404 to that path but with https and it didnt work, only with that file path. if i type a non-exist file path, it will redirect but that path is not. And it didnt change http to https too(onl that filepath, other is work).Pls help, thank you very much


#2

http to https redirection will not fix a bad path.

You need to follow the directions (step by step).
Assuming you chose Manual Authentication method, it would show you something like this:

You would need to find the document root path to your site and create the folder “.well-known” therein.
Then inside that new folder create another folder “acme-challenge”.
Then inside the acme-challenge folder you would place the downloaded files.

So, if your document root was (as an example): /var/www/html
Your downloaded files would go into folder: /var/www/html/.well-known/acme-challenge/


#5

Hi @TungstenVn

checked your site via https://check-your-website.server-daten.de/?q=blog.vostropower.tk that doesn’t look good. Or it looks excellent.

Domainname Http-Status redirect Sec. G
http://blog.vostropower.tk/
145.14.144.37 302 https://blog.vostropower.tk/ 0.247 A
https://blog.vostropower.tk/
145.14.144.37 200 6.300 N
Certificate error: RemoteCertificateNameMismatch
http://blog.vostropower.tk/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
145.14.144.37 404 0.250 A
Not Found

First question: What’s a “park domain”? Did you activate your domain? There is a redirect http -> https, but https has the wrong certificate. /.well-known looks like blocked.

So: Do you need to activate this domain? If yes, perhaps a certificate will be created.

Second version: It’s impossible because you may create a certificate (using dns-01 validation), but you can’t install it.

Does 000webhost support letsencrypt?
Not currently, but we are looking into this.
Currently our premium hosting plans do.

Such a free hosting is a closed world. So it may be impossible to install an own certificate.


#6

Why it said a file path is forbidden although i had chmod it to 777. A file its named has . before it (.well-know, or any path like .abc, .sfndsf). this one i use infinitefree host


#7

Where do you see a forbidden?

PS: Now you don’t have an ip address ( https://check-your-website.server-daten.de/?q=blog.vostropower.tk ):

Host T IP-Address is auth. ∑ Queries ∑ Timeout
blog.vostropower.tk Name Error yes 1 0
www.blog.vostropower.tk Name Error yes 1 0

And not longer ns01.000webhost.com, instead you use ns01.freenom.com.

So http-01 - validation can’t work, there is webspace and a running webserver required.


#8

this is an another problem,i use free host from https://infinityfree.net/ . i create a .well-known folder but cant access it, it even doesnt show in the list when i open the list with url. any other folder have “.” in its named too.


#9

But that can’t work. Rechecked your domain now ( https://check-your-website.server-daten.de/?q=blog.vostropower.tk ), you don’t have ip addresses. Not A (ipv4), not AAAA (ipv6).

Host T IP-Address is auth. ∑ Queries ∑ Timeout
blog.vostropower.tk Name Error yes 1 0
www.blog.vostropower.tk Name Error yes 1 0

Domain name -> ip address -> webspace.

If you use webspace without a DNS A or AAAA - entry yourdomain -> yourIp, your webspace is invisible.

So Letsencrypt can’t check the file in /.well-known/acme-challenge, because Letsencrypt doesn’t find your webspace.


closed #10

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