Articles in this section

PEM file can not be uploaded to Plesk: To read key from file or string use methods PleskExt\SslIt\OpenSsl\PrivateKey::fromFile() and PleskExt\SslIt\OpenSsl\PrivateKey::fromString()

Plesk for Linux kb: technical

Symptoms

  • A purchased or self-signed certificate can not be uploaded to a Plesk domain as .pem file with the error:

    PLESK_ERROR: To read key from file or string use methods PleskExt\SslIt\OpenSsl\PrivateKey::fromFile() and PleskExt\SslIt\OpenSsl\PrivateKey::fromString()

Cause

This is a Plesk SSL It! Extension bug with ID EXTSSLIT-1993 "Unable to upload .pem certificates".

Fixed in:

Resolution

Please consider updating the SSLit! extension

Workaround

If update is not possible for some reason, you may try the following workaround:

  • Open the certificate .pem file in any text editor and upload this by text parts as described on this article.
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.