Wednesday, September 26, 2012

How Siteminder Interacts with LDAP

openssl extract cert and private key

Export the private key file from the pfx file
===============================================

openssl pkcs12 -in filename.pfx -nocerts -out key.pem

Export the certificate file from the pfx file
==============================================

openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem

Remove the passphrase from the private key
==========================================

openssl rsa -in key.pem -out server.key