I wanted to list the certificates stored in a PKCS12 keystore.
The keystore has the extension .pfx
.pfx
openssl pkcs12 -info -in keystore_file