Re: [openssl-users] Error signing document

2015-05-01 Thread m . de . groot
Great Dave this did the trick.
Thanks,
Mark


Van: openssl-users [openssl-users-boun...@openssl.org] namens Dave Thompson 
[dthomp...@prinpay.com]
Verzonden: vrijdag 1 mei 2015 6:59
Aan: openssl-users@openssl.org
Onderwerp: Re: [openssl-users] Error signing document

 From: openssl-users On Behalf Of m.de.groot
 Sent: Thursday, April 30, 2015 14:46

 I converted the pfx file to a pem file using the following command
 openssl pkcs12 -in CustKeyIcBD001.pfx -out CustKeyIcBD001.pem -nodes

 After this I trying to sign a file using this key with the following
command

 openssl cms -sign -in TestfileIN.txt -out TestfileSign.tmp -outform DER -
 binary -nodetach -md SHA1 -signer CustKeyIcBD001.pem

 However I keep getting the message

 No signer certificate specified

If you have accurately copied your command to the email, you are using
a  Windows-cp1252 dash character (hex code 96) not a hyphen (2D)
for the -signer option. Use the classic traditional ASCII hyphen.



___
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
___
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


[openssl-users] Error signing document

2015-04-30 Thread m . de . groot
Dear Openssl,

I have the following case:
I am trying to sign a file with a private key from an CA. 
I converted the pfx file to a pem file using the following command
openssl pkcs12 -in CustKeyIcBD001.pfx -out CustKeyIcBD001.pem -nodes

After this I trying to sign a file using this key with the following command

openssl cms -sign -in TestfileIN.txt -out TestfileSign.tmp -outform DER -binary 
-nodetach -md SHA1 –signer CustKeyIcBD001.pem

However I keep getting the message

No signer certificate specified

I have put all files in the same directory and don't see why this is going 
wrong.

Can anybody help me out on this?

Regards,
Mark 
___
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


Re: [openssl-users] Error signing document

2015-04-30 Thread Dave Thompson
 From: openssl-users On Behalf Of m.de.groot
 Sent: Thursday, April 30, 2015 14:46

 I converted the pfx file to a pem file using the following command
 openssl pkcs12 -in CustKeyIcBD001.pfx -out CustKeyIcBD001.pem -nodes
 
 After this I trying to sign a file using this key with the following
command
 
 openssl cms -sign -in TestfileIN.txt -out TestfileSign.tmp -outform DER -
 binary -nodetach -md SHA1 -signer CustKeyIcBD001.pem
 
 However I keep getting the message
 
 No signer certificate specified
 
If you have accurately copied your command to the email, you are using 
a  Windows-cp1252 dash character (hex code 96) not a hyphen (2D) 
for the -signer option. Use the classic traditional ASCII hyphen.



___
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users