Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1239

Update HttpsConnectionTest to support jdk8 - KeyTool changes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6.0.2, 1.7.0
    • 1.7.0
    • None

    Description

      class HttpsConnectionTest / method createKeyStore()

              try {
                  keyToolClass = Class.forName("sun.security.tools.KeyTool");
              } catch (final ClassNotFoundException e) {
                  keyToolClass = Class.forName("com.ibm.crypto.tools.KeyTool");
              }
      

      The class "sun.security.tools.KeyTool" is not available in jdk8 so it tries to use the ibm keytool class with is not available since this is the Sun/Oracle implementation

      http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8-b132/sun/security/tools/keytool/Main.java#Main

      Attachments

        Issue Links

          Activity

            People

              hanasaki hanasaki jiji
              hanasaki hanasaki jiji
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: