Certbot.errors Some challenges have failed

Hi everyone ,

I’ve spend few hour lately on this problem before asking by myself .
I have my server which was running perfectly but my LE certificates was coming to the end , and I try to renew manually following the same “idea” as when I implemented it (regarding this Tutorial , I use it the first time and work like a charm

I process as the following :

  • run the init-scrpit to recreate new certificate

However I start falling on this error :

So I started to look around and see few people get the same error or kind of error as me .
here
or here

I understand that the error is about the acme-challenge can’t be successful as it’s not present on my server (if we check the url not there …)
But here is my problem , I try many change, changing my Nginx config to a simple one , re-run the script , but nothing change . Or yes it can change and give me another error :

 IMPORTANT NOTES:
 - The following errors were reported by the server:

I’m clearly not the best on managing Nginx and certifications . You see problem , let me know : it’s always good to learn things !
I’m sorry in advance if my question is stupid or if I missed a big point . It’s been few hours I’m on this …

Hi @louis1

read your output:

You have a redirect http -> https. Same there - https://check-your-website.server-daten.de/?q=app.detectimmo.com - a check, ~~two hours old.

But your command

uses that webroot. That’s defined in your port 80 vHost. But not in your port 443 vHost, so that can’t work.

Use your webroot, create there the two subdirectories /.well-known/acme-challenge, there a file (file name 1234), then try to load that file via

http://app.detectimmo.com/.well-known/acme-challenge/1234

That must work if you want to use webroot.

2 Likes

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