SSLParams ps = new SSLParams();
        ps.setDebug(true);
  
        short cs[] = { SSLParams.SSL_DH_anon_WITH_DES_CBC_SHA };
        ps.setClientCipherSuites(cs);
        ps.setUseV2Hello(false);


The last line is the one you are interested in.  Phaso doesn't support v2
apparently even though that seems to be the default setting.

Phaos was/is pretty good in responding to email requests.



---------- Forwarded message ----------
Date: Thu, 27 May 1999 15:13:34 -0400 (EDT)
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: openssl and sslava

has anyone try openssl with sslava?

I want a sslava client talk to a openssl daemon. 
the openssl daemon displays the following error
 
17181:error:1408F10B:SSLroutines:SSL3_GET_RECORD:wrong version number:s3_pkt.c:244:

I traced the error to SSL_accept() 

while the sslava client display the following exception

V2 client hello sent: version = 3.0, cipherSpecs = 1 {17}, sessionID = 0 ,
challenge = 32
374d9825f8520d01b3f99f7b5048a144b664af2dd65418440f8ce589d4c719e7
java.io.IOException: End of input        at
crysec.Utils.inputByte(Utils.java:117)
        at crysec.SSL.ContentType.input(ContentType.java:43)
        at crysec.SSL.SSLCiphertext.input(SSLCiphertext.java:55)
        at crysec.SSL.SSLSocket.getRecord(SSLSocket.java:642)
        at crysec.SSL.RecordInputStream.getData(RecordInputStream.java:73)
        at crysec.SSL.RecordInputStream.read(Compiled Code)
        at crysec.SSL.RecordInputStream.read(RecordInputStream.java:65)
        at crysec.Utils.inputByte(Utils.java:115)
        at crysec.SSL.HandshakeType.input(HandshakeType.java:40)
        at crysec.SSL.Handshake.input(Handshake.java:55)
        at crysec.SSL.SSLSocket.getHandshake(Compiled Code)
        at crysec.SSL.SSLSocket.clientInit(Compiled Code)
        at crysec.SSL.SSLSocket.initialize(SSLSocket.java:110)
        at crysec.SSL.SSLSocket.<init>(SSLSocket.java:65)
        at SSLTest.main(SSLTest.java:36)


does anyone know what the problem is?

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to