HI I would like to generate my own DH private/public keys and have the client/server exchange these values. The problem I am having is that the openssl build I have is configured to use certificates. Hence the client side is getting the server's DH public value from the certificate. If I need to bypass this, how do I go about this?
The client side is retrieving the server's public key value from s->session->sess_cert-> peer_dh_tmp i.e dh_srvr= s->session->sess_cert-> peer_dh_tmp So I thought I would set the s->session->sess_cert-> peer_dh_tmp with my custom values, but I cannot find the code on the server side where this is being set? Any ideas?