Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-2015

Let's replace JKS to PKCS12 key store type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • Wish List
    • security
    • Security Level: public (Regular issues)
    • None
    • Patch Available

    Description

      Hello

      Let's replace JKS to PKCS12 key store type; because PKCS12 is widely used key store and Geronimo may not work on non-Sun VMs.

      To fix this problem I have created the patch for Geronimo sources.
      In brief the patch (attached) replaces JKS to PKCS12 key store type in configurations files.
      PKCS12 format of key store file is not java-specific and can be created and read by other programs, e.g. Internet Explorer. In addition PKCS12 exists in Bouncy Castle (http://www.bouncycastle.org) security provider, while JKS is Sun specific key store and does not exist in Bouncy Castle.
      Also it is needed to replace JKS to PKCS12 keystore file (attached) to assemblies/j2ee-tomcat-server/src/var/security, assemblies/j2ee-installer/src/var/security, assemblies/j2ee-jetty-server/src/var/security directories. Key store file was generating using JKSToPKCS12 class (attached). This class transfers key and certificate of Geronimo from JKS to PKCS12.

      After I apply this patch to Geronimo 1.0 sources and build Geronimo I can login to Geronimo console over https.

      Attachments

        1. jksToPKCS12-1.1.1.patch
          5 kB
          Nellya Udovichenko
        2. jksToPKCS12.patch
          4 kB
          Nikolay Chugunov
        3. JKSToPKCS12.java
          1 kB
          Nikolay Chugunov
        4. keystore
          2 kB
          Nikolay Chugunov

        Issue Links

          Activity

            People

              cap Alexey Petrenko
              niks Nikolay Chugunov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: