• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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