SSL3_GET_CLIENT_KEY_EXCHANGE

Juan Daniel Moreno juanitomoreno at gmail.com
Fri Sep 30 12:27:18 CEST 2005


>Juan Daniel Moreno <juanitomoreno at gmail.com> wrote:
>> Thank you Alan, but now I have a new problem. I have been reading the
>> src/modules/rlm_eap/ to understand my problem but I don't find the
>> issue. In TLS establishment, the public key in the server.cert is 128
>> bytes length. I generate a random string of 46 bytes and the protocol
>> version (TLS 1.0 (0x03, 0x01)) and I use the SSL function
>> RSA_public_encrypt() with server's public key to encrypt the
>> PreMasterSecret. As a result I get a 128 length string. As I send this
>> data to the server, I get a "tls rsa encrypted length is wrong:
>> s3_srvr.c: 1450:"

> I have no idea what the problem is, sorry.

>Alan DeKok.

Can you please tell me the client's exchange packet form the server is
attempting?  How is it calculated? Or, can you show me a typical byte
suite from this message? (I hope you understand me)

Tank you.

Juan Daniel MORENO




More information about the Freeradius-Users mailing list