To use this certificate with a Parallels Client Gateway, one must convert the PFX file to the un-encrypted PEM format.
Use the open-source utility OpenSSL to perform the conversion from PFX to PEM. A downloadable Win32 distribution of OpenSSL is available here:
http://gnuwin32.sourceforge.net/packages/openssl.htm
To convert a PFX file to a PEM file, follow these steps on a Windows machine:
-
Download and install the Win32 OpenSSL package, using the link above.
-
Create a folder c:\certs and copy the file cert.pfx (the created PFX file) into the c:\certs folder.
-
Open a command prompt, and move to the GnuWin32\bin directory, using:
cd %ProgramFiles%\GnuWin32\bin
-
Type the following command to convert the PFX file to an unencrypted PEM file:
openssl pkcs12 -in c:\certs\cert.pfx -out c:\certs\cert.pem -nodes
- When prompted for the import password, enter the password you used when exporting the certificate to a PFX file.
You should then receive a message that says"
MAC verified OK
-
To enable SSL with cert.pem
-
On the Parallels Client Gateway page, enable Secure Sockets Layering (SSL) and click "…" to browse for the PEM file.
- Click Apply to apply the new settings.
-
Note that your browser may not support the display of this image.
-
If the Issuer is not a trusted authority, an additional step is necessary, as Parallels clients do not trust and are unaware of the Issuer Certificate authority. It's therefore necessary to extract the certificate from the certificate authority and assign it to Parallels Remote Application Server clients. The Issuer refers to the authority that issued the certificate.
-
Using the certificate snap-in, find Issuer's certificate from the certificates console.
Note that your browser may not support the display of this image.
-
Right-click on the Issuer certificate, select All Tasks > Export.
-
Choose No and do not export the private key, as only the certificate is necessary.
-
Then choose a Base-64 encoded X.509 (.CER) format.
Note that your browser may not support the display of this image.
-
Specify the filename you'd like to export, and save the certificate.
-
Click Finish.
- Open the exported certificate with a word processor and copy the contents to the clipboard.
-
- On the client side, under C:\Program Files\Parallels\Client\, the file trusted.pem should be visible. This file contains certificates of common trusted authorities. Paste the content of the exported certificate, which is attached to the certificates list.
This will add the Issuer certificate and list of trusted authorities on the client side, and one would be able to connect over SSL with a certificate from an organization certification authority.
Was this article helpful?
Tell us how we can improve it.