Importing a SSL file

Community support for Plesk, CPanel, WebMin and others with insight from two of the founders of Plesk. Ask for help here! No question is too simple or complicated. :-)
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Importing a SSL file

Unread post 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?
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: Importing a SSL file

Unread post 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.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Importing a SSL file

Unread post 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.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: Importing a SSL file

Unread post 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.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
Post Reply