I don't know why I can't pass http01 challenge

I have no idea how to create the 'file' it need, I put index.html with the string it need, put the file with the string, even txt file also, but it still failed, and my dns01 challenge is pass already....
please help....

My domain is:
rukkafran.xyz
I ran this command:
certbot certonly --manual -m MYEMAIL -d rukkafran.xyz -d *.rukkafran.xyz

It produced this output:


Create a file containing just this data:

FLyWDOCfGrQMP8kuDqvJ5zdJSJYTKXV6PL4NFAgiJXI.iiTcEH9Iiq7wEgt24rtr0aw4vib5kj__3W2n1H2RrQY

And make it available on your web server at this URL:

http://rukkafran.xyz/.well-known/acme-challenge/FLyWDOCfGrQMP8kuDqvJ5zdJSJYTKXV6PL4NFAgiJXI


Press Enter to Continue

Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
Domain: rukkafran.xyz
Type: unauthorized
Detail: Invalid response from Index of /.well-known/acme-challenge/FLyWDOCfGrQMP8kuDqvJ5zdJSJYTKXV6PL4NFAgiJXI [2606:4700:3033::6815:35d3]: "\n\n\nIndex of /.well-known/acme-challenge/FLyWDOCfGrQMP8"

Hint: The Certificate Authority failed to verify the manually created challenge files. Ensure that you created these in the correct location.

Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

My web server is (include version):
Apache

The operating system my web server runs on is (include version):
Ubuntu 20.04
My hosting provider, if applicable, is:
(if this mean DNS provider, CloudFlare, if that mean vps provider, Goole Cloud Platform)

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):
no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot 1.20.0

Hello @lee89tw14,

In this example, the file name must be FLyWDOCfGrQMP8kuDqvJ5zdJSJYTKXV6PL4NFAgiJXI (without any extension) but seems you are creating it as a directory so Let's Encrypt can't find it.

Cheers,
sahsanu

2 Likes

I forgot to say that if you want to issue a wildcard certificate you must use the dns challenge.

4 Likes

Oh, I done the challenge, thank you !!
so the FLyWDOCfGrQMP8kuDqvJ5zdJSJYTKXV6PL4NFAgiJXI is file name, I just thought that was a dir and put anything I came up in my head inside but still failed and got panic..

Blockquote
I forgot to say that if you want to issue a wildcard certificate you must use the dns challenge.

and yes thank you, in some how, seems dns challenge is more easy to reach for me so that one was done in the very fist time.

Thanks again for your help, I'm really appriciate.

2 Likes

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