Fix permissive X509TrustManager implementations
ProprietaryReplaces empty checkClientTrusted and checkServerTrusted method bodies on javax.net.ssl.X509TrustManager implementations with a throw new CertificateException("Not trusted") so the trust manager fails closed instead of accepting any certificate.
org. openrewrite. java. security. FixPermissiveTrustManagermod run . --recipe= org. openrewrite. java. security. FixPermissiveTrustManagerInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.