SSL3_GET_CLIENT_KEY_EXCHANGE

Alan DeKok aland at ox.org
Thu Sep 29 20:42:26 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.



More information about the Freeradius-Users mailing list