
PKCS12 is a passworded container format that contains both public and private certificate pairs.
PEM is a container format that may include just the public certificate, or may include an entire certificate chain including public key, private key, and root certificates.
Use this tool to convert pkcs12 files to pem format and vice versa.