Use java.security.cert instead of javax.security.cert

MSAL

The javax.security.cert package has been deprecated for removal.

org.openrewrite.java.migrate.DeprecatedJavaxSecurityCert
mod run . --recipe=org.openrewrite.java.migrate.DeprecatedJavaxSecurityCert

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

Recipe list

It runs these recipes, in this order.

  1. Rename package name javax.security.cert to java.security.cert