• 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 ERR [extension/sslit] Could not get config vars: To read x509 certificate from file or string use methods PleskExt\SslIt\OpenSsl\X509Certificate::from

pauls1919

New Pleskian
Server operating system version
CloudLinux 8.6 x86_64
Plesk version and microupdate number
Plesk Obsidian 18.0.50.0
after plesk updated to 18.0.50 we receive a lots of tickets regarding SSL IT extension

Could not secure domains of .............. (login ...................) with Let`s Encrypt certificates. Please log in to Plesk and secure the domains listed below manually.
Securing of the following domains has failed:

** '.....................................l' **
To read x509 certificate from file or string use methods PleskExt\SslIt\OpenSsl\X509Certificate::fromFile() or PleskExt\SslIt\OpenSsl\X509Certificate::fromString()


panel.log

[2023-02-06 14:46:51.711] 4101145:63e104c8a19d0 ERR [extension/sslit] Could not get config vars: To read x509 certificate from file or string use methods PleskExt\SslIt\OpenSsl\X509Certificate::fromFile() or PleskExt\SslIt\OpenSsl\X509Certificate::fromString()
[2023-02-06 14:46:51.928] 4101145:63e104c8a19d0 ERR [extension/sslit] Could not get config vars: To read x509 certificate from file or string use methods PleskExt\SslIt\OpenSsl\X509Certificate::fromFile() or PleskExt\SslIt\OpenSsl\X509Certificate::fromString()
[2023-02-06 14:46:52.181] 4101145:63e104c8a19d0 ERR [extension/sslit] Could not get config vars: To read x509 certificate from file or string use methods PleskExt\SslIt\OpenSsl\X509Certificate::fromFile() or PleskExt\SslIt\OpenSsl\X509Certificate::fromString()
 
@pauls1919 I think you should open a support ticket on this issue. Information provided is not sufficient for a issue report as this will end up in a request by developers to check it on the server directly anyway. So the fastest way to real results will be a support ticket in this case with allowing engineers SSH access to the machine.
 
In case that does not work, you can get support directly:
 
Here's an update on the status of this: We've logged to issues that are probably causing this case. For both a fix is already being worked on. The tracking ID in case you need to contact support on it is [EXTLETSENC-1182].
 
we got another tracking ID reply from support, The reported error comes from bug with ID EXTLETSENC-1177, which should be fixed
for now i just disabled SSLIT cron in order to stop all mails coming in
 
we got another tracking ID reply from support, The reported error comes from bug with ID EXTLETSENC-1177, which should be fixed
for now i just disabled SSLIT cron in order to stop all mails coming in

Fixed the day after you posted :)

Cause​

Plesk bug EXTLETSENC-1182.

Fixed in:

Resolution​

Note: If error comes from SSL It!, this extension update should also fix the issue.
 

Note: 2 days this got posted, looking very similar.
Only this time its the OpenSsl PrivateKey having that issue.


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 PleskExt\SslIt\OpenSsl\PrivateKey::fromFile() and PleskExt\SslIt\OpenSsl\PrivateKey::fromString()

Cause​

This is a Plesk SSL It! Extension bug with ID EXTSSLIT-1993 which will be fixed in future updates.

Resolution​

Until the bug is fixed, as a workaround:

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