Page 1 of 1

Importing a SSL file

Posted: Wed Jun 13, 2012 10:08 pm
by KrazyBob
Plesk 10.4.4 has a bug migrating the SSL cert from the destination. It comes over but does not install. Plesk advises to save the .pem file and then import it. but how? Plesk the file with all of the keys. it has no provision 2 separate set of keys out. how do I reinstall the individual keys?

Re: Importing a SSL file

Posted: Thu Jun 14, 2012 9:50 am
by faris
As far as I'm aware, a .PEM just contains the private key, followed by the certificate itself, followed by the CA certificates. It is the same file you'd obtain by clicking on the little floppy disk icon in panel itself.

You should be able to edit the file and extract these then paste them into the panel.

Code: Select all

-----BEGIN CERTIFICATE REQUEST-----
(this is the CSR)
-----END CERTIFICATE REQUEST-----

-----BEGIN PRIVATE KEY-----
(this is the private key)
-----END PRIVATE KEY-----

-----BEGIN CERTIFICATE-----
(this is the certificate itself)
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
(any additional certificates will be CA certificates and all will be needed)
-----END CERTIFICATE-----

EDIT: Oops. I forgot. Looks like you can just upload the whole PEM file via the panel as well in the SSL Certificates page.

Re: Importing a SSL file

Posted: Sun Jun 17, 2012 12:09 am
by KrazyBob
One can download the PEM file from the source and you are correct that you may upload it directly in Plesk 10.4.4.

But it fails.

Re: Importing a SSL file

Posted: Sun Jun 17, 2012 2:45 pm
by faris
Does pasting the individual bits also fail? I know it is unlikely to be relevant, but at one point in one version of plesk it always failed for me and I had to paste the individual bits, which worked.