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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 4.2.1
    • None
    • HttpClient (classic)
    • 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

        1. WebClientDevWrapper.java
          4 kB
          Philippe Mouawad

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: