Skip to content

Instantly share code, notes, and snippets.

@pfrozi
Created November 1, 2021 18:37
Show Gist options
  • Save pfrozi/6ff33fc1e147aaebd2ee860ffb8ca9ae to your computer and use it in GitHub Desktop.
Save pfrozi/6ff33fc1e147aaebd2ee860ffb8ca9ae to your computer and use it in GitHub Desktop.
How to configure a openssl.cnf
#
# OpenSSL example configuration file.
# This is mostly being used for generation of certificate requests.
#
openssl_conf = default_conf
####################################################################
[ default_conf ]
ssl_conf = ssl_sect
[ssl_sect]
system_default = system_default_sect
[system_default_sect]
MinProtocol = TLSv1
CipherString = DEFAULT@SECLEVEL=0
#CipherString = ALL
#CipherString = MD5:ALL:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment