Balamurugan
Balamurugan

Reputation: 2359

how to verify a P12 certificate using openssl?

Can anyone tell me how to verify the Password-based P12 file using openssl? Logic or sample code will be much helpful.

Upvotes: 2

Views: 5933

Answers (1)

Francois
Francois

Reputation: 2066

You can find a code sample that :
- opens a pkcs#12 file with password
- extracts the private key and certificates

in the openssl source code at :

./demos/pkcs12/pkread.c

Upvotes: 3

Related Questions