Previous Topic

Next Topic

Book Contents

Book Index

Converting the Certificate

Microsoft software imports client certificates from .p12 (also known as .pfx) files. If you received .crt and .key files instead of a .p12 file, you must convert them to .p12 format. You can do this with the free program OpenSSL.exe from the OpenSSL Project.

Suppose that you received the files fred.crt and fred.key, and wish to convert them to a single fred.p12 file. You would use a command like:

openssl pkcs12 -inkey fred.key -in fred.crt -export -out fred.p12

This command prompts for the password to the fred.key file before writing the fred.p12 file.