how to enable DHE ciphers on openssl for using on command line

M K Saravanan mksarav at
Wed Nov 17 08:25:57 UTC 2021


Do I need to do any config to enable DHE based ciphers in openssl for
command line usage?

$ openssl s_client -cipher 'DHE_RSA_WITH_AES_128_GCM_SHA256' -connect
Error with command: "-cipher DHE_RSA_WITH_AES_128_GCM_SHA256"

mksarav at ubuntu1804:~$ openssl version
OpenSSL 1.1.1d  10 Sep 2019

Non DHE ciphers are working fine with the above command option.  Are
they purposely removed for security reasons? I need to use DHE ciphers
for some testing purpose. Is there anyway can I use it?

with regards,

More information about the openssl-users mailing list