Re: RE: rsa error: block type not 01

2002-12-09 Thread ganesh kumar godavari
hi, i was getting the block type not 01 because i was not reading the complete data send. one should not use string functions when trying to receive data as the encoded data with rsa encryption may contain '\0' in the middle of the string. the way i over the problem is by hexifying the data

adding ca to ca-bundle.crt

2002-11-12 Thread ganesh kumar godavari
hi, i created a self signed certificate using openssl. i want to put my ca cert into the ca-bundle.crt. how do i do that?. i want to put it in the ca-bundle.crt obtained while installing modssl as it helps me to manage more ca's while i send mail from one username to another using smime tool.

Re: Re: ssl_write problem on AIX

2002-08-08 Thread ganesh kumar godavari
get to that point as >the >program terminates before I get the result. How do I use >ssldump? Can >I use it after the fact? > >Greg > >On 7 Aug 2002 22:24:44 -, "ganesh kumar godavari" ><[EMAIL PROTECTED]> said: > > > > hello, > > wh

RSA_public_decrypt causes segment fault

2002-07-31 Thread ganesh kumar godavari
Hi, Im trying to decode encrypted data received from a socket using the private key of RSA. But this seems to raise a segment fault. When I debugged the application,the actual error occurs in BN_num_bits(). Could anyone please let me know what could probably cause this to happen? Thanks Gan

printing RSA public key

2002-07-27 Thread ganesh kumar godavari
(i=0;iprintf("%02X", keybuf[i]); > } >} > > >hope this works, >let me know if it worked for you, >Manish Chablani >-- >Graduate Student, CS Department, >Indiana University. > >Make today a LAM/MPI day !!! >http://www.lam

RSA public key sending

2002-07-27 Thread ganesh kumar godavari
erver stores the public keys in pem format(ascii). so i want to send the clients send the key in ascii format. i2d_RSAPublicKey keys me the data in binary format. is there any way i can convert the binary data and send it in ascii. thanks ganesh On Thu, 25 Jul 2002 ganesh kumar godavari wrote : &g

Re: Re: creating RSA private/public key pair

2002-07-23 Thread ganesh kumar godavari
sage */ decryptmess= (unsigned char *) malloc(RSA_size(privkey)); RSA_private_decrypt(RSA_size(privkey), encryptmess, decryptmess, privkey, RSA_PKCS1_OAEP_PADDING); printf (" message %s\n decrypt %s\n", message, decryptmess); } On Tue, 23 Jul 2002 Aleix Conchillo wrote : &g

creating RSA private/public key pair

2002-07-23 Thread ganesh kumar godavari
. if not what is the right way to generate private and public rsa keys. thanks ganesh On Thu, 18 Jul 2002 ganesh kumar godavari wrote : >hello group, > i donot want to use certificates, but i do have public and >private keys generated using openssl. can i perform an SSL >Handsha

RE: OpenSSL ported to VxWorks?

2002-01-27 Thread ganesh kumar godavari
hello, i am trying to port openssl-0.96b onto VxWorks. i found the ftime and alarm functions missing in VxWorks. does VxWorks have related function for ftime and alarm?. if so can u tell me. have u been successful in porting rand functions? i am facing some problem as VxWorks doesn't have h

porting openssl to vxworks sys/param.h missing

2002-01-27 Thread ganesh kumar godavari
hello, i am trying to port openssl-0.96b onto VxWorks. i am facing the same problem of sys/param.h missing when trying to port bio . can u tell me how u overcame the problem? Thanks, gkgodava Hi, Great. Well, I started compiling the sources on VxWorks. Most of the files I was able to \ comp

problem with SSL reconnection

2001-11-02 Thread ganesh kumar godavari
hi everyone, i am working on a ssl server, upon getting a request from the client, the server is succesfully serving the request. if i am going to use the same process for serving another request from the same/different client I get the following error during SSL_accept(): 10190:error:140D9

not able to pump data using SSL_write

2001-09-08 Thread ganesh kumar godavari
AIL PROTECTED]> Date: 2001-09-08 8:47:06 [Download message RAW] On Sat, Sep 08, 2001 at 01:48:12AM -, ganesh kumar godavari wrote: > hello, > using concurrent process i am trying to send data by calling the function \ > sockWriteSSL(code given below), most of the time i am unable to se

not able to pump data using SSL_write

2001-09-07 Thread ganesh kumar godavari
hello, using concurrent process i am trying to send data by calling the function sockWriteSSL(code given below), most of the time i am unable to send as SSL_write return -1. can anyone tell me how i can pump more data using SSL_write?. any pointers would be of great help as i am new to socket

problems with connection

2001-08-27 Thread ganesh kumar godavari
hai everyone, i donot know why my previous message has been ignored. i think i have not provided sufficient information. so i am providing some more additional information. i have created the certificates(using openssl) and signed them myself.i used ssldump to verify my ssl handshake informati

session caching

2001-08-14 Thread ganesh kumar godavari
hai, i am writting a minimal concurrent ssl server, i am planning to use external session caching for this. i am using the the following hooks. SSL_CTX_sess_set_remove_cb(ctx, cb) void call_back(SSL_CTX,SSL_SESSION) i am calling the callback functions before opening the connection. i am getting

SSL_get_app_data/SSL_set_app_data

2001-08-14 Thread ganesh kumar godavari
hai, i am looking out for information on SSL_get_app_data and SSL_set_app_data. i could not find any documentation on the openssl website http://www.openssl.org/docs/ssl/ssl.html). i had gone through the code of ssl.h to see how the functions are handled. they look pretty simple, but i am facin

Re: SSL programming - Beginner :)

2001-08-12 Thread ganesh kumar godavari
hai julien, currently the openssl documentation is incomplete. the best way to understand about ssl, is to play the demo programs that are provided along with the source. u can start with the s_server.c and s_client.c programs to understand about ssl. though they are not clear, for beginners as

problem with certificates

2001-07-30 Thread ganesh kumar godavari
hai everyone, i am new to ssl, i have spent some time going through openssl documentation. i have generated a self signed root certificate using $ openssl req -x509 -newkey rsa:1024 -keyout mykey.pem -out mycert.pem and i am currently using the generated certificate and key on the

problem with reading PEM file

2001-07-26 Thread ganesh kumar godavari
hai everyone, i am new to ssl, i have spent some amount of time trying to read openssl, documentaion(though not yet complete). i am writing a simple program to read information from a PEM file. i am getting the error ** too few arguments to function `PEM_read_X509' *** i looked into the do