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

Incorrect error message on client authentication

XMLWordPrintable

        sun/security/ssl/CertificateMessage.java
        if (shc.sslConfig.clientAuthType !=
                ClientAuthType.CLIENT_AUTH_REQUESTED) {
            // unexpected or require client authentication
            throw shc.conContext.fatal(Alert.BAD_CERTIFICATE,
                "Empty server certificate chain");
        }

        The error message should be "Empty client certificate chain".

              jjiang John Jiang
              jjiang John Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: