• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Unable to upload SSL cert: To read key from file or string use methods...

ahoi

Basic Pleskian
Server operating system version
11.6
Plesk version and microupdate number
18.0.50
On a Plesk setup on Debian 11.6, I am getting this error while uploading a new cert (pem).

On multiple servers, this error occurs:

> To read key from file or string use methods PleskExt\SsIlt\OpenSs|\PrivateKey.:fromFile()and
PleskExt\Ss|it\OpenSs|\PrivateKey::fromString)
 
You might want to reach out to Plesk support directly as they'll more likely want to jump into the server with you to see what is happening since there's not much to go off of on that error alone:
 
@ahoi

Did you find a solution to this problem? I have just started experiencing exactly the same error following an update:

Code:
Could not issue an SSL/TLS certificate for *******.***
Details
To read key from file or string use methods PleskExt\SslIt\OpenSsl\PrivateKey::fromFile() and PleskExt\SslIt\OpenSsl\PrivateKey::fromString()

This is what is running:

1679160546492.png

This is a dev box and it is locked down behind a firewall. To manage SSL for the handful of domains on this server, I create certificates with the Certify the Web desktop client for Windows, export the file to a .pem and upload it.

Until very recently this has been absolutely fine. Since it started to happen, I've tried to uninstall and reinstall SSL It! but this does not seem to do anything. I've rebooted, patched, updated extensions etc. but the problem persists.

The problem happens for new certificates or renewals, and also happens on brand new domains.

The lack of search results suggests, worryingly, that this is a fairly uncommon problem. Any assistance would be gratefully received.

Thanks in advance!
 
Back
Top