• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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