[openssl-users] s_server and explicit dhparam

Le Van Gong, Hubert hubert at levangong.org
Thu Sep 21 08:30:54 UTC 2017


Hi there,

I'm trying to run opensslin server modeand leverage non-default DH 
params with the following command:
sudo openssl s_server -cert server_cert.pem -dhparam dhparam_2.pem 
-tls1_3 -accept 443

Where the dhparam_2.pem file contains the 2 DH params I want to use.
However, I keep getting the following error message: Error with command: 
"-dhparam dhparam_2.pem"

I'm using OpenSSL 1.1.1-dev and see the same behaviour on macOS or linux.

Any idea as to what it is I am missing?

Cheers,
Hubert



More information about the openssl-users mailing list