|
Verisign usually sends a certificate in PEM format. The Secure FTP Wrapper
needs it in DER format. The easiest way to convert the certificates is
by using a utility that ships with
OpenSSL.
Converting an RSA private key from PEM to DER format:
openssl pkcs8 -topk8 -nocrypt -outform der -in <priv.pem> -out <priv.pk8>
Converting an RSA public key from PEM to DER format:
openssl x509 -outform der -in <pub.pem> -out <pub.der>
Note: if you were not given the key/ceritifcate
in PEM format but instead have it in one pkcs12 file, then
first do the following (and then try the above steps again):
Getting an RSA private key in PEM format from a pkcs12 file:
openssl pkcs12 -in <verisign.pfx> -nocerts -nodes -out <priv.pem>
Getting an RSA public key in PEM format from a pkcs12 file:
openssl pkcs12 -in <verisign.pfx> -nokeys -out <pub.pem>
If the request is high enough we
can write a CGI that will help in this conversion process.
|