>From MSIE5, exported Certificate in PKCS#12 (*.pfx) format. Successfully
exported Private Key from the Certificate file using "openssl pkcs12". When
I use the key with "openssl smime" to sign a plain text message, I get the
following error:

******************************************
unable to load certificate
1184:error:0906D06C:PEM routines:PEM_read_bio:no start
line:./crypto/pem/pem_lib.c:662:Expecting: TRUSTED CERTIFICATE
Can't read signer certificate file mycert
******************************************

The Key looks like this:

*******************************************
Bag Attributes
    localKeyID: bla bla
    1.3.6.1.4.1.311.17.1: Microsoft Base Cryptographic Provider v1.0
    friendlyName: bla bla
Key Attributes
    X509v3 Key Usage: 10
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,DE0BDE2EEB7D5E45
:
:
-----END RSA PRIVATE KEY-----
*******************************************

Any help please?

Robert
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to