droe / sslsplit

Transparent SSL/TLS interception
https://www.roe.ch/SSLsplit
BSD 2-Clause "Simplified" License
1.73k stars 327 forks source link

Lower openssl seclevel to 0 at config time #285

Open naf419 opened 3 years ago

naf419 commented 3 years ago

Currently the openssl security level is set to 0 when making and receiving proxied connections, but ca and client certificates specified in config are pre-loaded using a temporary ssl context that does not have the security level explicity reduced, resulting in failure to load, for example 1024-bit RSA client certs

Fix by lowering the seclevel on all temp contexts as well

sonertari commented 3 years ago

@droe should review this.