AnsweredAssumed Answered

Renegotiation(rehandshake) in OpenSSL

Question asked by rasjv on Mar 9, 2015

Hello,

I want to test renegotiation for SSL/TLS connection with OpenSSL API.

How to do this? Can somebody help?

 

My code doesn't work.

 

When server initiates renegotiation:

SSL_set_session_id_context(...);

SSL_renegotiate(...)

SSL_do_handshake(...);

ssl->state=SSL_ST_ACCEPT;

//process SSL_do_handshake (WANT_READ/WANT_WRITE)

 

When client initiates renegotiation:

SSL_renegotiate(...)

//process SSL_do_handshake(WANT_READ/WANT_WRITE)

 

I already doubt that OpenSSL support it because there is no any info about this...

 

I will be very grateful for answers. Thanks.

Outcomes