Capicom signing openssl verification

2002-04-15 Thread Ivan Saez

Hi,

I can sign and verify the digital signature of a web-form with my
private and public
key using capicom but now I need to verify the digital signature on a
Sun Solaris server  with openssl 0.9.6c. I exported my public key and
uploaded it to the Sun server. On the server I have my public key and
the digital signed text signed with my private key. Then on the Sun
server I do :

openssl dgst -sha1 -binary -verify ivan_public.key -signature
19870193.pem text

19870193.pem is the signed web-form (signed with capicom). I believe the
format is
PKCS7. Text is the file containing the ascii text from the web-form.

Openssl returns Verification Failure . Any idea of what I'm doing wrong
?

kind regards,

Ivan

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: Capicom signing openssl verification

2002-04-15 Thread Howard Chan

Ivan,

SorryI've got a question from your question.  How do you export your
public key from your certificate?  Would I be able to export a public key
from a cert created and signed through OpenSSL commands?  Grateful for your
comments!!

Best regards,

H. Chan


- Original Message -
From: Ivan Saez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 3:30 PM
Subject: Capicom signing  openssl verification


 Hi,

 I can sign and verify the digital signature of a web-form with my
 private and public
 key using capicom but now I need to verify the digital signature on a
 Sun Solaris server  with openssl 0.9.6c. I exported my public key and
 uploaded it to the Sun server. On the server I have my public key and
 the digital signed text signed with my private key. Then on the Sun
 server I do :

 openssl dgst -sha1 -binary -verify ivan_public.key -signature
 19870193.pem text

 19870193.pem is the signed web-form (signed with capicom). I believe the
 format is
 PKCS7. Text is the file containing the ascii text from the web-form.

 Openssl returns Verification Failure . Any idea of what I'm doing wrong
 ?

 kind regards,

 Ivan

 __
 OpenSSL Project http://www.openssl.org
 User Support Mailing List[EMAIL PROTECTED]
 Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: Capicom signing openssl verification

2002-04-15 Thread Aleksey Sanin



$openssl x509 -pubout ...

Aleksey.

Howard Chan wrote:
0bc601c1e456$5ee179c0$086fa8c0@vrjyu">
  Ivan,SorryI've got a question from your question.  How do you export yourpublic key from your certificate?  Would I be able to export a public keyfrom a cert created and signed through OpenSSL commands?  Grateful for yourcomments!!Best regards,H. Chan- Original Message -From: "Ivan Saez" [EMAIL PROTECTED]To: [EMAIL PROTECTED]Sent: Monday, April 15, 2002 3:30 PMSubject: Capicom signing  openssl verification
  
Hi,I can sign and verify the digital signature of a web-form with myprivate and publickey using capicom but now I need to verify the digital signature on aSun Solaris server  with openssl 0.9.6c. I exported my public key anduploaded it to the Sun server. On the server I have my public key andthe digital signed text signed with my private key. Then on the Sunserver I do :openssl dgst -sha1 -binary -verify ivan_public.key -signature19870193.pem text19870193.pem is the signed web-form (signed with capicom). I believe theformat isPKCS7. Text is the file containing the ascii text from the web-form.Openssl returns Verification Failure . Any idea of what I'm doing wrong?kind regards,Ivan__OpenSSL Project ht
tp://www.openssl.orgUser Support Mailing List[EMAIL PROTECTED]Automated List Manager   [EMAIL PROTECTED]

__OpenSSL Project http://www.openssl.orgUser Support Mailing List[EMAIL PROTECTED]Automated List Manager   [EMAIL PROTECTED]






Re: Capicom signing openssl verification

2002-04-15 Thread I . A . Saez . Scheihing

Howard,

 
 Ivan,
 
 SorryI've got a question from your question.  How do you export your
 public key from your certificate?  Would I be able to export a public key
 from a cert created and signed through OpenSSL commands?  Grateful for your
 comments!!
 

With openssl :

openssl x509 -in cert -pubkey -noout

Replase cert with the name of you certificate-file. The certificate-file
could I make through MS-IE. IE has a export facility.

 Best regards,
 
 H. Chan
 
 
 - Original Message -
 From: Ivan Saez [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, April 15, 2002 3:30 PM
 Subject: Capicom signing  openssl verification
 
 
  Hi,
 
  I can sign and verify the digital signature of a web-form with my
  private and public
  key using capicom but now I need to verify the digital signature on a
  Sun Solaris server  with openssl 0.9.6c. I exported my public key and
  uploaded it to the Sun server. On the server I have my public key and
  the digital signed text signed with my private key. Then on the Sun
  server I do :
 
  openssl dgst -sha1 -binary -verify ivan_public.key -signature
  19870193.pem text
 
  19870193.pem is the signed web-form (signed with capicom). I believe the
  format is
  PKCS7. Text is the file containing the ascii text from the web-form.
 
  Openssl returns Verification Failure . Any idea of what I'm doing wrong
  ?
 
  kind regards,
 
  Ivan
 
  __
  OpenSSL Project http://www.openssl.org
  User Support Mailing List[EMAIL PROTECTED]
  Automated List Manager   [EMAIL PROTECTED]
 
 __
 OpenSSL Project http://www.openssl.org
 User Support Mailing List[EMAIL PROTECTED]
 Automated List Manager   [EMAIL PROTECTED]


Ivan


Ing. Ivan Saez Scheihing , Eindhoven University of Technology
Systeemhuis/Bush   BG 3.41 tel. 040-2475044
P.O.Box 513, 5600 MB Eindhoven, The Netherlands
E-Mail: [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: Capicom signing openssl verification

2002-04-15 Thread Aleksey Sanin



Sorry, mistype

   $openssl x509 -pubkey ...

Aleksey.


Aleksey Sanin wrote:
[EMAIL PROTECTED]">   $openssl
x509 -pubout ...
  
 Aleksey.
  
 Howard Chan wrote:
  0bc601c1e456$5ee179c0$086fa8c0@vrjyu">
Ivan,SorryI've got a question from your question.  How do you export yourpublic key from your certificate?  Would I be able to export a public keyfrom a cert created and signed through OpenSSL commands?  Grateful for yourcomments!!Best regards,H. Chan- Original Message -From: "Ivan Saez" [EMAIL PROTECTED]To: [EMAIL PROTECTED]Sent: Monday, April 15, 2002 3:30 PMSubject: Capicom signing  openssl verification

  Hi,I can sign and verify the digital signature of a web-form with myprivate and publickey using capicom but now I need to verify the digital signature on aSun Solaris server  with openssl 0.9.6c. I exported my public key anduploaded it to the Sun server. On the server I have my public key andthe digital signed text signed with my private key. Then on the Sunserver I do :openssl dgst -sha1 -binary -verify ivan_public.key -signature19870193.pem text19870193.pem is the signed web-form (signed with capicom). I believe theformat isPKCS7. Text is the file containing the ascii text from the web-form.Openssl returns Verification Failure . Any idea of what I'm doing wrong?kind regards,Ivan__OpenSSL Project 
http://www.openssl.orgUser Support Mailing List[EMAIL PROTECTED]Automated List Manager   [EMAIL PROTECTED]
  
  __OpenSSL Project http://www.openssl.orgUser Support Mailing List[EMAIL PROTECTED]Automated List Manager   [EMAIL PROTECTED]