RE: openssl libs vs RSA libs problem

2003-04-02 Thread Avinash Agarwal
I tried using the openssl s_server . I got the same errors on bothe ends. Here is the output I get on the server side " Using default temp DH parameters Enter PEM pass phrase: ACCEPT read from 00158A88 [001630E8] (11 bytes => 11 (0xB)) - 16 03 00 00 37 01 00 00-33 03

negative modulus

2003-04-02 Thread Michelle Li
Hi all, I'm generating RSA key pair using openssl and then use the keys in Java program. I can create a RSAPublicKey from the pem file generated by openssl fine if I just use X509Certificate class to read directly from the file and generate the RSAPublicKey. However, if I generate the RSAPubl

incompatbility problem between 0.9.6g and 0.9.7a

2003-04-02 Thread bailey_lorenzo
Has anybody encountered an incompatbility problem between openssl version 0.9.6g and 0.9.7a? I upgraded an application to version 0.9.7a . However, I can't communicate with it with older versions of the application. The only difference in the application is the newer version of the open ssl librar

engine's dynamic load: standard bind_engine() question

2003-04-02 Thread Victor Tarasov
Hi, Does the dynamic-engine is supposed to be used to load the engines that use the standard implementation of bind_engine() (implemented with IMPLEMENT_DYNAMIC_BIND_FN() macro), please? As far as I see, the engines from 'openssl-0.9.7a' use this standard implementation of bind_engine(). This

Re: Signature Verification problem

2003-04-02 Thread Dr. Stephen Henson
On Wed, Apr 02, 2003, Howard Chan wrote: > Actually, I found that if I use : openssl dgst -sha1 -verify > "pubkey" -signature "signature_file" -binary "original_file" > works. > > Provided that I signed with : openssl dgst -sha1 -sign "privkey" "original > file" . This is what I did with a tes

Re: Signature Verification problem

2003-04-02 Thread Howard Chan
Actually, I found that if I use : openssl dgst -sha1 -verify "pubkey" -signature "signature_file" -binary "original_file" works. Provided that I signed with : openssl dgst -sha1 -sign "privkey" "original file" . This is what I did with a testfile which i generated to test this process. I'm act

Re: Signature Verification problem

2003-04-02 Thread Nils Larsch
Howard Chan wrote: What about using the openssl commands? ie. x509, rsautl, dgst, etc. Can I do all that I specified below strictly using those openssl commands? If so, how? 'openssl rsautl -pubin -verfiy ...' didn't work ? Regards, Nils