Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6831

should be able to configure the certStore key type

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.6, 3.0.9, 3.2.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      currently we have code like

      final KeyStore keyStore =
                  KeyStore.getInstance(KeyStore.getDefaultType());
      

      to createTrustStore, here always use the KeyStore default type, however, KeyStore default type would change from "jks" to "pkcs12" in java9(see the keystore.type property in java.security), that said, the KeyStore.getDefaultType() can't keep constant between different java versions, this can cause SSL shake hand failed. we should enable the certStore type configuration, just like the keyStore do

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ffang Freeman Fang
                Reporter:
                ffang Freeman Fang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: