Warning: Failed to resolve the challenge for www.xxxx.com. Details: Failed to pass challenges for domain 'www.xxxx.com'


I’m having trouble resolving Let’s Encrypt to a specific domainname www.xxxx.com

I recieved an email earlier:


Your certificate (or certificates) for the names listed below will expire in
19 days (on 06 Aug 17 21:02 +0000). Please make sure to renew
your certificate before then, or visitors to your website will encounter errors.


The root .htaccess is:

Options +FollowSymLinks RewriteEngine On

RewriteCond %{HTTP_HOST} ^xxxx.com [NC]
RewriteRule ^(.*)$ https://www.xxxx.com$1 [L,R=301]

RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Get rid of index.php

RewriteCond %{REQUEST_URI} /index.php
RewriteRule (.*) index.php?rewrite=2 [L,QSA]

Rewrite all directory-looking urls

RewriteCond %{REQUEST_URI} /$
RewriteRule (.*) index.php?rewrite=1 [L,QSA]

Try to route missing files

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} public/ [OR]
RewriteCond %{REQUEST_FILENAME} .(jpg|gif|png|ico|flv|htm|html|php|css|js)$
RewriteRule . - [L]

If the file doesn’t exist, rewrite to index

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?rewrite=1 [L,QSA]

I have no idea where to correct this, can you help me with this please?

Let me know if you need anything else,

Thanks & Regards,

Hi @dan11ring,

What software are you using that displayed the message “Warning: Failed to resolve the challenge” and so on? Did you run a particular command that led to this warning message?

@schoen I’m using Plesk Onyx 17.5.3

@schoen the only command I gave was, that I did hit the renew button - and checked Include a “www” subdomain for the domain and each selected alias
e.g. www.xxxx.com

I’d be happy to try to figure this out, but I think we’ll need significantly more detailed logs or error messages that explain what the software tried to do and what error was received from the certificate authority. (“Failed to pass challenge” in this case is a Plesk error rather than a certificate authority error; the underlying certificate authority error would probably be more specific.) Otherwise, you might want to try the Plesk forum.

You would be more likely to find people with appropriate Plesk debugging expertise there.

@schoen okay I’ll go and check that out, thanks anyway.

I got the error message “Failed to pass challenges for domain …” when using the command line:

/usr/local/psa/bin/extension --exec letsencrypt cli.php -d $(hostname --fqdn) -m le@example.com

Problem was that DNS contained an AAAA entry for the domain, but the domain itself was not assigned a IPv6-address in Plesk.

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