Many implementations of the Citrix Access Gateway appliance will be replacing existing installations of Citrix Secure Gateway usually running on a Windows server. To migrate the certificate from Windows to the appliance follow these steps:
Download the Win32 version of OpenSSL from SourceForge
Extract the package to a folder e.g. C:\OPENSSL
Export the certificate including the private key from the Windows server in PKCS12 format. This will require creating a password to protect the private key
Convert the certificate to PEM format using OpenSLL with the following command: c:\openssl\bin\openssl pkcs12 -in <EXPORTED-CERTIFICATE>.pfx -out <NEWFORMAT-CERTIFICATE>.pem -nodes
You will be prompted for the password for the certificate
Enter the password and the certificate will be converted to PEM format
Upload the certificate to the Access Gateway
Either delete both certificate files or keep them in a secure location.
Also see the following Citrix article on this process:
Aaron Parker (stealthpuppy) is an end-user computing specialist with 30 years experience. Aaron has also spent around 20 years in the IT community speaking, presenting, blogging and running open-source projects. Aaron is a Senior PM Architect in R&D @ Nerdio.