S/MIME Debugging A sample public/private key can be found in Bug #8629. To convert to PKCS #12 format, the following should work: openssl pkcs12 -export -in -inkey -out smime.p12