Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-212

HostnameVerifier on HttpClient should be configurable

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 3.0.0
    • Core
    • Sprint 39

      Description

      ATM, for HTTPS connections, we force the ALLOW_ALL_HOSTNAME_VERIFIER strategy:

      SSLSocketFactory factory = new SSLSocketFactory(context);
      factory.setHostnameVerifier(SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);
      

      Other options are possible and should be supported:

      SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER
      SSLSocketFactory.BROWSER_COMPATIBLE_HOSTNAME_VERIFIER
      SSLSocketFactory.STRICT_HOSTNAME_VERIFIER
      

        Attachments

          Issue Links

            Activity

              People

              guillaume.sauthier Guillaume Sauthier
              guillaume.sauthier Guillaume Sauthier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: