Find weak SSL/TLS protocols

Proprietary

Finds deprecated SSL and TLS protocol versions (SSL 1.0 through 3.0, TLS 1.0 and 1.1) requested through SSLContext.getInstance(), setEnabledProtocols(), SSLParameters.setProtocols(), or OkHttp's tlsVersions(). Search only: a safe replacement depends on the JRE and the peer, neither visible in source.

org.openrewrite.java.security.search.FindWeakTlsProtocol
mod run . --recipe=org.openrewrite.java.security.search.FindWeakTlsProtocol

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.