Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1234

HTTPS + SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER leads to javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 4.2.1
    • Fix Version/s: None
    • Component/s: HttpClient (classic)
    • Labels:
      None

      Description

      Hello,
      We got a report of an issue with JMeter:
      http://stackoverflow.com/questions/12538233/javax-net-ssl-sslpeerunverifiedexception-peer-not-authenticated-when-load-testi

      The reporter has setup a public site with his configuration:
      https://ec2-50-17-85-212.compute-1.amazonaws.com:8443/hello/

      I reproduced issue with JMeter but it seems it comes from HttpClient or it's a feature.

      I created a simple test class I attach here not related to JMeter

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              p.mouawad@ubik-ingenierie.com Philippe Mouawad
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: