Dear Expert,
    I am unable to sign using the following command
 
    openssl smime -sign -in <input filename> -out <signature filename>
-outform pem -inkey <private key> -signer <certificate>
 
Where input filename = 1.txt
      output filename = 2.txt
      certificate = abc.p7b
 
Content of 1.txt is as follow
 
    This is testing file for attachement.
 
 
 
I am getting following error. 
 
Loading 'screen' into random state - done
unable to load certificate
2140:error:0906D06C:PEM routines:PEM_read_bio:no start
line:.\crypto\pem\pem_lib.c:663:Expecting: TRUSTED CERTIFICATE
Can't read signer certificate file abc.p7b
 
Can you please help me out for the same?

-- 
View this message in context: 
http://old.nabble.com/Sign-a-file-using-OpenSSL-and-.cer-files-tp29695012p29695012.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to