Re: [openssl-dev] A question DH parameter generation and usage

Paul Yang <[email protected]> Wed, 6 Dec 2017 15:13:09 +0800
Newsgroups gmane.comp.encryption.openssl.user,gmane.comp.encryption.openssl.devel
Message-ID <[email protected]>
For DHE_RSA, you first need a pair of RSA certificate/key for signing. And you if want to use specific DH parameters, you can use the SSL_CTX_set_tmp_dh API, there is documentation describing how to use this function.

DH parameter could be generated by OpenSSL in many ways, one of the common way is by using the openssl-dhparam command line tool. Check the -help option of that command.

BTW: seems this email should be sent to openssl-users list only...

> On 6 Dec 2017, at 14:02, Jayalakshmi bhat <[email protected]> wrote:
> 
> Hi,
> 
> We are planning to use DHE_RSA TLS ciphers into our product. I have few questions on using DH parameter. We would like to use DH-2048.
> 
> our product includes both TLS client and server applications. Thus any time there will be considerable number of active connectioons.
> 
> I believe we can use same DH parameter for all the server connections. Is my understanding correct? Is there any risk in using same parameter for all the server connections.
> 
> Another question is what is guidelines/document should be followed to derive DH parameter.
> 
> Any input is appreciated.
> 
> Thanks and Regards
> Jayalakshmi.
> --
> openssl-dev mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE1DpRqsO5NNe+XNT6IUVD11hLLfwFAlonmIUACgkQIUVD11hL
Lfwc8A//RxSn9w6YyI6lKX0Zzk2tfpQM+jvPBR5YWWGzrpxMKS1yWK85xlfar2te
8dSDs3EE4jsymjPGSPqr4nqllXBkTU7jB0GtJ8H3lFgC9VkjSOqqhSSuI0EutKWc
05lZMZ9V+wg5/HGe59T86OMkk2g0VjKcV0kSp/QSMeq8MH1V5WhnipTzBM0GixpO
X11c+fIdNpEE19M/zE2mL0TPGw/9pRT2swhp/JEUMtmVuv++g9QtU3JayE/9Yw49
yc2JCC8vbSiXMhY5Xrv9E5gaxswyb0et+xTqbdyOLYN8lEVXMge6NZrDpoNIMGPa
VymTKPm+qgBxy1XdBLY/N11HlMIWEGUY+4qhT4dKxD37JF9PQUdJKSJnNDaxLmBC
1U8WZQXCFhZ1QTDhFkn+crLlrpxpVEma+5BVjKt/er8rGRtpWgIIAaYMLNtGlJfG
N/sCkdK7Ke5Auz7I9FEyCvt0n9I+z07nAbk5hpSn/mFOeX6CBLIg+gfg2m4pTY6L
fkf/byrkoYn9OXryCs8N8v7t9AWiAt91ZtzhDO/dIueZCOREZB6S/TkCVhLui0jG
7Q0LnO1Om2iX1F7pgN5MT2xy2blnkRDGZV8TUl7XwTz6c0UBKk8dtCkk2KfTgTEj
MgfI0BjpjW0nYnz9jCmX61pEC7Ft4I5hMWcWDH/b7kNsjlwgD/0=
=AiTA
-----END PGP SIGNATURE-----