Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8312383

Log X509ExtendedKeyManager implementation class name in TLS/SSL connection

    XMLWordPrintable

Details

    Backports

      Description

        At the time of server certificate authentication, users have the flexibility to use a custom X509 Key Manager implementation by extending "X509ExtendedKeyManager".

        Ex:
                        KeyManager[] kms = kmf.getKeyManagers();
                        kms = new KeyManager[] { new MyX509ExtendedKeyManager(
                                (X509ExtendedKeyManager) kms[0]) };
                        
                        SSLContext ctx = SSLContext.getInstance("TLS");
                        ctx.init(kms, tms, null);


        In such a scenario, printing the class name in X509Authentication.java will be helpful to identify any failure of the SSL connection due to a certificate issue.

        Attachments

          Issue Links

            Activity

              People

                pkumaraswamy Prajwal Kumaraswamy
                pkumaraswamy Prajwal Kumaraswamy
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: