RE: problem in ssl connection with server

2011-02-03 Thread Bhola Ray
Praveen,
 If U have followed the proper procedure i.e
 1) ./configure
 2)  make
Then s_client and s_server must work(it worked for me I modified the code 
and was able to txmit a file from the client to server)
try the -msg option to see more details to figure out the handshaking etc

#OPENSSL>s_client   -msg -connect 122.166.106.8:8000


regards,
bhola

-Original Message-
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of praveen kumar
Sent: Thursday, February 03, 2011 12:13 AM
To: openssl-users@openssl.org
Subject: problem in ssl connection with server


Hi friend,

  This is K.A.Praveenkumar from india.i have few quries regarding ssl,i got 
this problem when i try to establish server connection through public domain.
  My client given me one ip and port(122.166.106.8:8000). i am openssl tool in 
linux.
   
   When ever i tried to connect with the servers like google
  #OPENSSL>s_client -connect www.google.com:443 

   i am getting server one certificate and the connection also established.But 
the same command with client ip and port 
  #OPENSSL>s_client -connect 122.166.106.8:8000
   
  
CONNECTED(0003)
3077588700:error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert 
unexpected message:s23_clnt.c:674:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 113 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
error in s_client

 i got this error,they configured port 8000 for ssl but still i cant get 
problem where it is?

 Can any one help me where is the exact problem?  

  ThanksĀ®ards
K.A.Praveenkumar
 Linkwell telesystems
   Hyderabad-india
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: problem in ssl connection with server

2011-02-03 Thread David Schwartz

On 2/2/2011 9:13 PM, praveen kumar wrote:


  i got this error,they configured port 8000 for ssl but still i cant get 
problem where it is?

  Can any one help me where is the exact problem?


Their server doesn't correctly support SSL negotiation. You can make it 
work by disabling TLS1 negotiation. With s_client, use the '-no_tls1' flag.


DS

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


problem in ssl connection with server

2011-02-02 Thread praveen kumar

Hi friend,

  This is K.A.Praveenkumar from india.i have few quries regarding ssl,i got 
this problem when i try to establish server connection through public domain.
  My client given me one ip and port(122.166.106.8:8000). i am openssl tool in 
linux.
   
   When ever i tried to connect with the servers like google
  #OPENSSL>s_client -connect www.google.com:443 

   i am getting server one certificate and the connection also established.But 
the same command with client ip and port 
  #OPENSSL>s_client -connect 122.166.106.8:8000
   
  
CONNECTED(0003)
3077588700:error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert 
unexpected message:s23_clnt.c:674:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 113 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
error in s_client

 i got this error,they configured port 8000 for ssl but still i cant get 
problem where it is?

 Can any one help me where is the exact problem?  

  ThanksĀ®ards
K.A.Praveenkumar
 Linkwell telesystems
   Hyderabad-india
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org