>From: [email protected] On Behalf Of Kumar Ghanta >Sent: Wednesday, 28 November, 2012 14:47
>Can somebody please tell me what default sizes for RSA and DHE >are being used for the below ciphers in openssl? >DHE-RSA-AES128-SHA >DHE-RSA-AES256-SHA I don't know what you mean by "default" sizes. For all ciphersuites using DHE-RSA: - the RSA key used by the server to sign in ServerKX is the RSA privatekey (or keypair) matching its certificate, both of which are configured (and exist in advance). The size of an RSA signature is the size of the key. - if client auth is used, the RSA key used by the client to sign in CertVer is the privatekey matching its cert, ditto. - both parties' DH public values are the size of the DH group specified by the server. For OpenSSL server this is configured (directly) by SSL_[CTX_]set_tmp_dh, or by the callback set by SSL_[CTX_]set_tmp_dh_callback. The only place there's a default is *generating* a keypair that is put into a certificate and later used. In that case, genrsa or gendh defaults to 512 and req -new defaults to a configured value which in turn defaults to 512. dsaparam (DSA params can be used as DH params by ignoring q) does generation only if you specify numbits. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
