Class CertificateUtilities


  • public class CertificateUtilities
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void importSupplementalCertificates​(LaunchContext context, java.lang.String javaHome)
      imports the certificates in .ignition/clientlauncher-data/client-certificates into the default trust store file so these certs can persist even during java version upgrades.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • importSupplementalCertificates

        public static void importSupplementalCertificates​(LaunchContext context,
                                                          java.lang.String javaHome)
        imports the certificates in .ignition/clientlauncher-data/client-certificates into the default trust store file so these certs can persist even during java version upgrades. It also creates a backup of the default trust store if it doesn't already exist.
        Parameters:
        context - the LaunchContext that we are targeting.
        javaHome - the path to java home that we wish to modify the default trust store of.