Hi Niels,

Problem:
(tried to open PKCS12 file from batch system)
openssl pkcs12 -in file.p12
        Enter Import Password: <PIN>

I tried in vain to get the PIN from the file "purePIN" via
openssl rsautl -decrypt -inkey cakey.pem -in purePIN

Error: 1838:error:0406506C:rsa routines:RSA_EAY_PRIVATE_DECRYPT: \
       data greater than mod len: ...
Is there another way, to get the correct PIN in order
to open the PKCS12 file?

You have to use the openca-sv util to open the file :)

Oliver

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to