Re: Application is failing with cipher or hash unavailable

2011-05-16 Thread Gayathri Sundar
Am not sure what the poster of this msg is actually doing, but I faced a similar problem when I was trying to achieve SSL from kernel, I had to work on sk_buff chains and fragmented SSL Records, and during my development, I got a lot of error alerts of 21 as some boundary conditions were not met. I

RE: Application is failing with cipher or hash unavailable

2011-05-16 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Gayathri Sundar > Sent: Monday, 16 May, 2011 10:18 > You could hack ur client and server to use cipher null and see the > alert in clear..most,y should be digest failure. > If you mean MAC failure (actually MAC-or-decryption-failure, since the

RE: Application is failing with cipher or hash unavailable

2011-05-16 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Gayathri Sundar > Sent: Monday, 16 May, 2011 16:06 > Alert 21 seems to be decryption failure. > Alert description aka alert code 21, yes. But OP says he is getting an encrypted alert, apparently in wireshark, which then can't and doesn't deco

Re: Application is failing with cipher or hash unavailable

2011-05-16 Thread Gayathri Sundar
Alert 21 seems to be decryption failure. Sent from my iPad On May 16, 2011, at 6:12 AM, pradeepreddy wrote: > > Hi, > > > After lot of struggles, finally get rid of this error, but I cant tell the > reason, how was it rectified. > We installed our libs on a new machine. > > Now a different

Re: Application is failing with cipher or hash unavailable

2011-05-16 Thread Gayathri Sundar
You could hack ur client and server to use cipher null and see the alert in clear..most,y should be digest failure. On Monday, May 16, 2011, pradeepreddy wrote: > > Hi, > > > After lot of struggles, finally get rid of this error, but I cant tell the > reason, how was it rectified. > We installed

RE: Application is failing with cipher or hash unavailable

2011-05-16 Thread pradeepreddy
Hi, After lot of struggles, finally get rid of this error, but I cant tell the reason, how was it rectified. We installed our libs on a new machine. Now a different error is seen. After client and server conection is established, TLSv1 Encrypted Alert+21 is sent by the client. Google search d

RE: Application is failing with cipher or hash unavailable

2011-05-12 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of pradeepreddy > Sent: Thursday, 12 May, 2011 18:37 > I have tried with all the ciphers. This same application works well on > windows. > > I run my application again with s_server, but hit with the same error: > SSL_ERROR_SSL > error:140D308A:SS

Re: Application is failing with cipher or hash unavailable

2011-05-12 Thread pradeepreddy
Hi, I have tried with all the ciphers. This same application works well on windows. I run my application again with s_server, but hit with the same error: SSL_ERROR_SSL error:140D308A:SSL routines:TLS1_SETUP_KEY_BLOCK:cipher or hash unavailable This time, instead of using my own server, I have

Re: Application is failing with cipher or hash unavailable

2011-05-12 Thread Gayathri Sundar
can you give some specific cipher like rc4-md5 using the --cipher command and see if it goes thro? maybe the 1st cipher suite sent by the client is not available with the server or something..you can use mozilla and edit the cipher suites in the advance tab or use openssl client connect command and

RE: Application is failing with cipher or hash unavailable

2011-05-12 Thread pradeepreddy
Any inputs? This same application on windows does hand shake successfully. Server is same in both linux and windows client application. pradeepreddy wrote: > > Hi, > > I have the SSL_library_init() in my app, which will load the algos. > > > Erik Tkal wrote: >> >> I think that means you h

RE: Application is failing with cipher or hash unavailable

2011-05-11 Thread pradeepreddy
Hi, I have the SSL_library_init() in my app, which will load the algos. Erik Tkal wrote: > > I think that means you have not enabled the cipher or hash that is > required at that point. Did you forget to call something like > OpenSSL_add_all_algorithms() in your app? > >

RE: Application is failing with cipher or hash unavailable

2011-05-11 Thread Erik Tkal
I think that means you have not enabled the cipher or hash that is required at that point. Did you forget to call something like OpenSSL_add_all_algorithms() in your app? Erik Tkal Juniper OAC/UAC/Pulse Development -Original Message- From: owner-op