Skip to content
gmallard edited this page Mar 4, 2012 · 1 revision

Convert Certificate Formats

Convert the Server's Certificate to PKCS12 format

Enter the command:

openssl pkcs12 -export -out server.pks -in server.crt -inkey server.key 

You will be prompted twice for the pks file password:

Enter Export Password:password
Verifying - Enter Export Password:password

This creates the server certificate in PKCS12 formak (file server.pks).

Convert the Clients's Certificate to PKCS12 format

Enter the command:

openssl pkcs12 -export -out client.pks -in client.crt -inkey client.key 

You will be prompted twice for the pks file password:

Enter Export Password:password
Verifying - Enter Export Password:password

This creates the client certificate in PKCS12 formak (file client.pks).