Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-748

Alias selection for EdDSA client certificates broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.4.15
    • None
    • HttpCore

    Description

      Automatic alias selection for EdDSA client certificates broken since only EDDSA are checked.

      RFC-8422 Section 3 specifies that the certificate type ECDSA_sign in the certificate request is to be used for both ECDSA and EdDSA certificates but org.apache.http.ssl.SSLContextBuilder.KeyManagerDelegate#getClientAliasMap(String[], Principal[]) only checks with the key type "ECDSA" and therefore does not find EdDSA certificates.

      How to reproduce:

      • Create a client keystore with only an EcDSA certificate and try to connect to a server that requires a client certificate.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marschall Philippe Marschall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: