[prev in list] [next in list] [prev in thread] [next in thread]
List: openssl-users
Subject: TLS version error with Java
From: "Hihn, Jason" <Jhihn () dejarnette ! com>
Date: 2009-11-30 23:08:49
Message-ID: 05244A3D4641DF4BA40F52E177A4552902452791 () DWALIN ! dejarnette ! local
[Download RAW message or body]
I am trying to have a java 1.5 client connect to a OpenSSL TLS server. I
can connect fine from other OpenSSL implementations.
I keep getting a version number error. Digging into the source, I see
that the SSL version>>8 was 98 when it expected 3. I'm looking at static
int s3_pkt.c: ssl3_get_record(SSL *s)
Which gets version from:
/* Pull apart the header into the SSL3_RECORD */
rr->type= *(p++);
ssl_major= *(p++);
ssl_minor= *(p++);
version=(ssl_major<<8)|ssl_minor;
I put a printf() in where it does the version that's how I know
version>>8 is 98.
My command line is:
openssl s_server -www -accept 2762 -tls1 -cert "certs\publicKey.pem"
-key "certs\privateKey.pem"
What is going wrong?
Thanks!
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic