Find SSLContext.getInstance("SSL"/"TLSv1"/"TLSv1.1") calls

Proprietary

SSL, TLSv1, and TLSv1.1 are RFC-deprecated and disabled by browsers — POODLE / BEAST / Lucky13 attacks all apply. Use TLSv1.2 or TLSv1.3 (or "TLS" to let the JDK pick the strongest mutually-supported version).

org.openrewrite.kotlin.security.FindWeakSslProtocol$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.security.FindWeakSslProtocol$KtRecipe'

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