Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-577

Upgrade corrupts custom key/trust manager configurations

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.4.6
    • Fix Version/s: 2.6.0
    • Component/s: tools
    • Labels:

      Description

      Custom key and trust manager configurations are corrupted during upgrade in cases where key and trust stores are located in a custom location which resides beneath the OpenDJ install directory.

      Example before upgrade:

      dn: cn=PKCS12,cn=Key Manager Providers,cn=config
      objectClass: ds-cfg-key-manager-provider
      objectClass: ds-cfg-file-based-key-manager-provider
      objectClass: top
      ds-cfg-enabled: true
      ds-cfg-java-class: org.opends.server.extensions.FileBasedKeyManagerProvider
      ds-cfg-key-store-file: certs/keystore.p12
      ds-cfg-key-store-type: PKCS12
      ds-cfg-key-store-pin-file: certs/keystore.pwd
      cn: PKCS12
      
      dn: cn=JKS,cn=Trust Manager Providers,cn=config
      objectClass: ds-cfg-file-based-trust-manager-provider
      objectClass: ds-cfg-trust-manager-provider
      objectClass: top
      ds-cfg-enabled: true
      ds-cfg-java-class: org.opends.server.extensions.FileBasedTrustManagerProvider
      ds-cfg-trust-store-type: JKS
      ds-cfg-trust-store-file: certs/truststore
      cn: JKS
      ds-cfg-trust-store-pin-file: certs/truststore.pwd
      

      Example after upgrade:

      dn: cn=PKCS12,cn=Key Manager Providers,cn=config
      objectClass: ds-cfg-key-manager-provider
      objectClass: ds-cfg-file-based-key-manager-provider
      objectClass: top
      ds-cfg-enabled: false
      ds-cfg-java-class: org.opends.server.extensions.FileBasedKeyManagerProvider
      ds-cfg-key-store-file: config/keystore.p12
      ds-cfg-key-store-type: PKCS12
      ds-cfg-key-store-pin-file: config/keystore.pwd
      cn: PKCS12
      
      dn: cn=JKS,cn=Trust Manager Providers,cn=config
      objectClass: ds-cfg-file-based-trust-manager-provider
      objectClass: ds-cfg-trust-manager-provider
      objectClass: top
      ds-cfg-enabled: false
      ds-cfg-java-class: org.opends.server.extensions.FileBasedTrustManagerProvider
      ds-cfg-trust-store-type: JKS
      ds-cfg-trust-store-file: config/truststore
      cn: JKS
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                violette Violette Roche Montane
                Reporter:
                matthew Matthew Swift
                Dev Assignee:
                Violette Roche Montane
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: