(dv) 4.0:Fix PleskFatalException SSL installation error
- This page was last modified on January 9, 2012, at 17:38.
From (mt) Community Wiki
Contents |
The Bug
There is a bug that affects some users of Plesk 10.3.1, which rears its head only when installing an SSL certificate. When it occurs, you'll see the following error inside Plesk:
ERROR: PleskFatalException SSLCertificate::check_signs() failed: openssl_x509_checkpurpose() failed: 0: CertificatePropertiesUIPointer.php:454 CertificatePropertiesUIPointer->accessItemEdit(string 'POST', NULL null) 1: CertificatePropertiesUIPointer.php:19 CertificatePropertiesUIPointer->accessItem(string 'POST', NULL null) 2: UIPointer.php:595 UIPointer->access(string 'POST') 3: plesk.php:52
The Fix
- Log into the (dv) Dedicated-Virtual Server via SSH as the root user.
- Run the following command:
up
- This command will apply a series of "micro-updates" to your Plesk 10.3.1 installation, and can take a 3-5 minutes to complete.
- Once done you can log back into Plesk and finish the SSL installation.
Outdated Fix
This fix is no longer needed, but is being kept for archival reasons.
The bug is related to a problem with the "SSLCertificate.php" file on the server, which isn't really very obvious from the error message Plesk provides! Thankfully even though this error looks scary, it is pretty easy to fix via SSH.
- Log into the (dv) Dedicated-Virtual Server via SSH as the root user.
- Run the following commands:
cd /usr/local/psa/admin/plib/ mv SSLCertificate.php SSLCertificate.php-mt_backup wget http://kb.parallels.com/Attachments/17521/Attachments/SSLCertificate.zip unzip SSLCertificate.zip rm SSLCertificate.zip
Or you can just do it as one large single line command:
cd /usr/local/psa/admin/plib/ && mv SSLCertificate.php SSLCertificate.php-mt_backup && wget http://kb.parallels.com/Attachments/17521/Attachments/SSLCertificate.zip && unzip SSLCertificate.zip && rm SSLCertificate.zip
- Log back into Plesk and finish the SSL installation.
External Links
KB Parallels: Unable to upload new SSL certificate due to error
How do I enable root access to my (dv)?
Connecting via SSH to your server