ssl connection

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ssl connection

kumarravi_verma
hi,]
I am very new user of openssl.In openssl s_client is working fine when i am used without proxy.
For Ex: s_client -prexit connect secure.icicicdirect,com:443 -state is working fine

but when i am used s_client through proxy ,it is not working and handsaking failed.
 for Ex: s_client -prexit connect 192.9.202.5.secure.icicidirect.com:443 -state it is not working and handsaking is failed.

Is any one can help me.
Either gives the better solution for these case.

Thanks
ravi Kumar
Reply | Threaded
Open this post in threaded view
|

RE: ssl connection

seetharaman

Please use the ipaddress with port number alone and try connecting

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of kumarravi_verma (sent by Nabble.com)
Sent: Wednesday, January 11, 2006 3:47 PM
To: [hidden email]
Subject: ssl connection

 

hi,]
I am very new user of openssl.In openssl s_client is working fine when i am used without proxy.
For Ex: s_client -prexit connect secure.icicicdirect,com:443 -state is working fine

but when i am used s_client through proxy ,it is not working and handsaking failed.
 for Ex: s_client -prexit connect 192.9.202.5.secure.icicidirect.com:443 -state it is not working and handsaking is failed.

Is any one can help me.
Either gives the better solution for these case.

Thanks
ravi Kumar


View this message in context: ssl connection
Sent from the OpenSSL - User forum at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

RE: ssl connection

kumarravi_verma
OpenSSL> s_client -prexit -connect 202.56.245.223:443 -state
Loading 'screen' into random state - done
connect: Bad file descriptor
connect:errno=10060
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 0 bytes
---
New, (NONE), Cipher is (NONE)
Compression: NONE
Expansion: NONE
---
error in s_client
I am found this message.(witout proxy)

(in case of proxy)
OpenSSL> s_client -prexit -connect 192.9.202.5.202.56.245.223:443 -state
Loading 'screen' into random state - done
CONNECTED(0000034C)
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
544:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:.\ssl\s23_lib.
c:188:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 148 bytes
---
New, (NONE), Cipher is (NONE)
Compression: NONE
Expansion: NONE
---
(in case of proxy)
OpenSSL> s_client -prexit -connect 192.9.202.5.202.56.245.223:8080 -state
Loading 'screen' into random state - done
CONNECTED(0000033C)
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
SSL_connect:error in SSLv2/v3 read server hello A
write:errno=10053
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 148 bytes
---
New, (NONE), Cipher is (NONE)
Compression: NONE
Expansion: NONE
---
Reply | Threaded
Open this post in threaded view
|

Re: ssl connection

jimmy-6
In reply to this post by seetharaman
seetharaman wrote:
> Please use the ipaddress with port number alone and try connecting

i don't think proxies work the same way as ur normal connections. U
can't connect to ur target directly, i don't think the format of ip is
proxy_ip.target_ip:port.

And please don't _top_post_

>
>  
>
> -----Original Message-----
> *From:* [hidden email]
> [mailto:[hidden email]] *On Behalf Of *kumarravi_verma
> (sent by Nabble.com)
> *Sent:* Wednesday, January 11, 2006 3:47 PM
> *To:* [hidden email]
> *Subject:* ssl connection
>
>  
>
> hi,]
> I am very new user of openssl.In openssl s_client is working fine when i
> am used without proxy.
> For Ex: s_client -prexit connect secure.icicicdirect,com:443 -state is
> working fine
>
> but when i am used s_client through proxy ,it is not working and
> handsaking failed.
>  for Ex: s_client -prexit connect 192.9.202.5.secure.icicidirect.com:443
> -state it is not working and handsaking is failed.
>
> Is any one can help me.
> Either gives the better solution for these case.
>
> Thanks
> ravi Kumar
>
> ------------------------------------------------------------------------
>
> View this message in context: ssl connection
> <http://www.nabble.com/ssl-connection-t893940.html#a2316840>
> Sent from the OpenSSL - User
> <http://www.nabble.com/OpenSSL---User-f981.html> forum at Nabble.com.
>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: ssl connection

kumarravi_verma
OpenSSL> s_client -prexit -connect 202.56.245.223:443 -state
Loading 'screen' into random state - done
connect: Bad file descriptor
connect:errno=10060
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 0 bytes
---
New, (NONE), Cipher is (NONE)
Compression: NONE
Expansion: NONE
---
error in s_client
I am found this message.(witout proxy)

(in case of proxy)
OpenSSL> s_client -prexit -connect 192.9.202.5.202.56.245.223:443 -state
Loading 'screen' into random state - done
CONNECTED(0000034C)
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
544:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:.\ssl\s23_lib.
c:188:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 148 bytes
---
New, (NONE), Cipher is (NONE)
Compression: NONE
Expansion: NONE
---
(in case of proxy)
OpenSSL> s_client -prexit -connect 192.9.202.5.202.56.245.223:8080 -state
Loading 'screen' into random state - done
CONNECTED(0000033C)
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
SSL_connect:error in SSLv2/v3 read server hello A
write:errno=10053
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 148 bytes
---
New, (NONE), Cipher is (NONE)
Compression: NONE
Expansion: NONE