RE: Query on RSAPublicKeyy (Is this is a bug in pem.h)

2006-08-02 Thread Bhat, Jayalakshmi Manjunath
Hi All, In my previous post I had mailed these compilation error details. We have enabled OPENSSL_NO_FP_API Macro in our project. Compilation error: ../../include/openssl/pem.h:610: parse error before `RSA' ../../include/openssl/pem.h:611: warning: return-type defaults to `int' pem_all.c: In fun

Re: RSA encryption

2006-08-02 Thread Kaushalye Kapuruge
Hi, Yeah it helped. Thanks. Then I wrote this code(attched) to encrypt and decrypt a text. I generated the private key using openssl genrsa -out rsakey2.pem 1024 And then the public key using openssl rsa -in rsakey2.pem -pubout > rsapub2.pem When I compile and run the test the encryption wo

RE: Need help for select and a SSL_read problem

2006-08-02 Thread David Schwartz
> Thanks Darryl for your help. > > I wrote that "when I send a new packet from the client I can read > the missing > packets, but not the new one" But in fact I can read the missing > packets and a part of the second packets. > > Here is the trace. I send a trame of 10 bytes from the client, and t

Re: How do I register my own ca.crt in the default CA repository of openssl ?

2006-08-02 Thread Thomas CarriƩ
I have renamed myCa.crt to myCa.pem and run c_rehash it works :-) Thank you On Wednesday 02 August 2006 10:55, Marek Marcola wrote: > Hello, > > > I try to play around with the /etc/ssl/certs because I think this is the > > directory where openssl based program are looking for the CA > > certi

Patrick Presto is out of the office.

2006-08-02 Thread Patrick Presto
I will be out of the office starting 08/02/2006 and will not return until 08/03/2006. I am out of the office today but will be returning tomorrow.

Re: RSA encryption

2006-08-02 Thread Bernhard Froehlich
Kaushalye Kapuruge wrote: Hi, I'm trying to encrypt a Text using a session key and then encrypt that session key using the public key of the reciever side. Can anybody point me to an example in C? For this 1. I need to read the key using PEM format. http://www.openssl.org/docs/crypto/pem.html

RSA encryption

2006-08-02 Thread Kaushalye Kapuruge
Hi, I'm trying to encrypt a Text using a session key and then encrypt that session key using the public key of the reciever side. Can anybody point me to an example in C? For this 1. I need to read the key using PEM format. 2. Generate the session key. 3. Encrypt using RSA Also I'd like to kno

Re: How do I register my own ca.crt in the default CA repository of openssl ?

2006-08-02 Thread Marek Marcola
Hello, > I try to play around with the /etc/ssl/certs because I think this is the > directory where openssl based program are looking for the CA certificates, > but just adding the myCa.crt in the directory is not enough : I still have > wget complaining about being "unable to to get local issue