• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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