plesk / letsencrypt-plesk

Let’s Encrypt extension for Plesk gives all Plesk users the power to get a free Let’s Encrypt certificate with just a couple of clicks.
https://www.plesk.com/extensions/letsencrypt/
180 stars 25 forks source link

PleskAPIInvalidSecretKeyException : Invalid secret key usage. Please check logs for details. #151

Closed ixgit closed 7 years ago

ixgit commented 7 years ago

Hello,

how I can fix this error?

Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for xyz.at
http-01 challenge for www.xyz.at
Starting new HTTPS connection (1): 127.0.0.1
Cleaning up challenges
An unexpected error occurred:
KeyError: 'site'
Please see the logfiles in /opt/psa/var/modules/letsencrypt/logs for more details

Logfile:

2017-02-13 13:18:14,062:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): 127.0.0.1
2017-02-13 13:18:16,140:DEBUG:requests.packages.urllib3.connectionpool:"POST /enterprise/control/agent.php HTTP/1.1" 200 None
2017-02-13 13:18:16,141:DEBUG:letsencrypt_plesk.api_client:Plesk API-RPC response: <?xml version="1.0"?>
        <packet version="1.6.8.0">
                <system>
                        <status>error</status>
                        <errcode>11003</errcode>
                        <errtext>PleskAPIInvalidSecretKeyException : Invalid secret key usage. Please check logs for details.</errtext>
                </system>       </packet>
2017-02-13 13:18:16,143:DEBUG:certbot.error_handler:Encountered exception:
Traceback (most recent call last):
xgin commented 7 years ago

Since version 2.0 API requests are performed internally and do not require secret key.