The client lacks sufficient authorization, the key authorization did not match this challenge


#1

Hello, i’ve been trying to install Let’s Encrypt on both of my domains, and on the first domain (theraulxp.es) I installed the certificate without problems, and it added to my Vesta panel.

By the way, it also appears on my other domain (piggamers.es), but it seems that it isn’t fully installed, because Chrome doesn’t show the green “secure” flag on piggamers.es, as it does on theraulxp.es.

When I try to install the certificate on the SSH console, I get the following error message:

[root@HostVPS local]# letsencrypt-vesta admin piggamers.es
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for piggamers.es
http-01 challenge for www.piggamers.es
Using the webroot path /etc/letsencrypt/webroot for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. piggamers.es (http-01): urn:acme:error:unauthori zed :: The client lacks sufficient authorization :: The key authorization file f rom the server did not match this challenge [NAMyzNnjERNfeN943MW89cx_iogGLxekUNL 6ikG9y1I.wiY4jSApSuslliVKL_ko9v5BV8URMR5hueLuZZZJ8W4] != [NAMyzNnjERNfeN943MW89c x_iogGLxekUNL6ikG9y1I._zBmIyG-edh-Wopj-Z3j45zhyfhifDjkWHoN36nPJLM], www.piggamer s.es (http-01): urn:acme:error:unauthorized :: The client lacks sufficient autho rization :: The key authorization file from the server did not match this challe nge [FXG5pxsKywtW-YvVWLVYTLVS41Xcn5lXeKDRduFGwbs.wiY4jSApSuslliVKL_ko9v5BV8URMR5 hueLuZZZJ8W4] != [FXG5pxsKywtW-YvVWLVYTLVS41Xcn5lXeKDRduFGwbs._zBmIyG-edh-Wopj-Z 3j45zhyfhifDjkWHoN36nPJLM]

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: piggamers.es
    Type: unauthorized
    Detail: The key authorization file from the server did not match
    this challenge
    [NAMyzNnjERNfeN943MW89cx_iogGLxekUNL6ikG9y1I.wiY4jSApSuslliVKL_ko9v5BV8URMR5h ueLuZZZJ8W4]
    !=
    [NAMyzNnjERNfeN943MW89cx_iogGLxekUNL6ikG9y1I._zBmIyG-edh-Wopj-Z3j45zhyfhifDjk WHoN36nPJLM]

    Domain: www.piggamers.es
    Type: unauthorized
    Detail: The key authorization file from the server did not match
    this challenge
    [FXG5pxsKywtW-YvVWLVYTLVS41Xcn5lXeKDRduFGwbs.wiY4jSApSuslliVKL_ko9v5BV8URMR5h ueLuZZZJ8W4]
    !=
    [FXG5pxsKywtW-YvVWLVYTLVS41Xcn5lXeKDRduFGwbs._zBmIyG-edh-Wopj-Z3j45zhyfhifDjk WHoN36nPJLM]

    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.

What should I do? You can check theraulxp.es and see it works correctly, but I don’t know what is happening on the second domain.

Thanks.


#3

You are a Vesta CLI user?

I am using the GUI control panel way. It’s a lot easier, just check the LE support box and submit, and all will be done in a few minutes.

You can switch to the GUI method for the second time.


#4

This particular problem has to do with mixed content. See

https://www.whynopadlock.com/

You have some of the locations of images hard-coded as HTTP instead of HTTPS.


#6

Okay, thanks for the suggestion, solving it now!


#7

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