Hello,
> I am using the following client hello message format for an
> SSL V3 Server:
>
> <snip>
>
> unsigned char buf[BUFSIZE] =
> "\x01" /* client hello msg */
>
> "\x03\x00" /* client version */
> "\x00\x18" /* cipher specs length */
> "\x00\x00" /* session id length */
> "\x00\x10" /* challenge length */
>
> "\x07\x00\xc0\x05\x00\x80\x03\x00" /* cipher specs data
> */
> "\x80\x01\x00\x80\x08\x00\x80\x06"
> "\x00\x40\x04\x00\x80\x02\x00\x80"
>
> ""; /*
> session id data */
>
>
> </snip>
>
> The message i am getting at server end is:
>
> <snip>
>
> error:1408A0B6:SSL routines:SSL3_GET_CLIENT_HELLO:no ciphers passed
This looks like SSL2 client_hello.
For that to work you must add SSL2 record header, in this case
two bytes {0x80, len} where len in length of handshake data.
You cannot use here SSL3/TLS1 record header.
And if you specified 16 bytes of chalenge/random data, you must add this
data to packet too.
Best regards,
--
Marek Marcola <[EMAIL PROTECTED]>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]