The javax.security.cert has been deprecated in Java SE 13 and marked for removal. The classes in this package should no longer be used
. The java.security.cert package contains suitable replacements.
For more information on this deprecation, see javax.security.cert deprecated for removal in Java SE 13.