Can anyone tell me how to verify the Password-based P12 file using openssl? Logic or sample code will be much helpful.
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