Skip to content

Instantly share code, notes, and snippets.

@zeljic
Created December 23, 2021 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeljic/ebb159343dad1323e4430b7f903c59a1 to your computer and use it in GitHub Desktop.
Save zeljic/ebb159343dad1323e4430b7f903c59a1 to your computer and use it in GitHub Desktop.
How to downgrade OpenSSL to TLSv=1

Create openssl.cnf and add:

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=1

In command line, before command add OPENSSL_CONF=openssl.cnf and rest of command.

For example: OPENSSL_CONF=~/ssl.cnf svn co --trust-server-cert-failures="unknown-ca,cn-mismatch,expired,not-yet-valid,other" --non-interactive https://dev.dev.com/svn/repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment