• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question PHP Warning: openssl_pkey_export()

phpPhil

New Pleskian
Hi Everyone,

i want to Renew my Let´s Encrypt Certificate but all I get is an Error:

Code:
PHP Warning: openssl_pkey_export(): cannot get key from parameter 1; File: letsencrypt/library/Acme/KeyGenerator.php, Line: 35

What can I do ?
 
If you use Debian, make sure that OpenSSL configuration file exists. If not, like here:

Code:
# ls -l /usr/lib/ssl/openssl.cnf
lrwxrwxrwx 1 root root 20 Mar 29 12:51 /usr/lib/ssl/openssl.cnf -> /etc/ssl/openssl.cnf
# ls -l /etc/ssl/openssl.cnf
ls: cannot access /etc/ssl/openssl.cnf: No such file or directory

Just copy it from extension directory:

Code:
# cp /opt/psa/admin/plib/modules/letsencrypt/resources/openssl.cnf /etc/ssl/openssl.cnf
 
Back
Top