Symptoms
-
A purchased or self-signed certificate can not be uploaded to a Plesk domain as
.pem
file with the error:To read key from file or string use methods PleskExtSslItOpenSslPrivateKey::fromFile() and PleskExtSslItOpenSslPrivateKey::fromString()
Cause
This is a Plesk SSL It! Extension bug with ID EXTSSLIT-1993 "Unable to upload .pem certificates".
Fixed in:
- SSL It! 1.12.7 23 March 2023
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.