hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fang Lin <Fang...@u.washington.edu>
Subject HttpClient 4.1.2 hostname in certificate didn't match
Date Mon, 08 Aug 2011 21:39:52 GMT
With the httpclient 4.1.2., we got javax.net.ssl.SSLException: 
hostname in certificate didn't match: <name.cs.washington.edu/128.208....> != <*.cs.washington.edu>
OR <*.cs.washington.edu> OR <cs.washington.edu>
        at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:228) ~[httpclient.jar:4.1.2]
        at org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
~[httpclient.jar:4.1.2]
        at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:149) ~[httpclient.jar:4.1.2]
        at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:130) ~[httpclient.jar:4.1.2]
        at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:397)
~[httpclient.jar:4.1.2]
        at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:495)
~[httpclient.jar:4.1.2]
        at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:62)
~[httpclient.jar:4.1.2]
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
~[httpclient.jar:4.1.2]
        at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) ~[httpclient.jar:4.1.2]
        at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
~[httpclient.jar:4.1.2]
        at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
~[httpclient.jar:4.1.2]
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
~[httpclient.jar:4.1.2]
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
~[httpclient.jar:4.1.2]
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:776)
~[httpclient.jar:4.1.2]

Switched back to httpclient 4.1.1, the problem goes away.

-----Original Message-----
From: Oleg Kalnichevski [mailto:olegk@apache.org] 
Sent: Sunday, August 07, 2011 2:38 PM
To: announce@apache.org; private@hc.apache.org; dev@hc.apache.org; httpclient-users@hc.apache.org
Subject: [ANNOUNCEMENT] HttpComponents HttpClient 4.1.2 (GA) release

The HttpComponents project is pleased to announce 4.1.2 (GA) release of Apache HttpClient.
This is a bug fix release that addresses a number of non-critical issues reported since release
4.1.1. For details please see the release notes. 

-------------------
Download -
<http://hc.apache.org/downloads.cgi>

Release notes -
<http://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-4.1.x.txt>

HttpComponents site -
<http://hc.apache.org/>

-------------------

About Apache HttpClient

Although the java.net package provides basic functionality for accessing resources via HTTP,
it doesn't provide the full flexibility or functionality needed by many applications. HttpClient
seeks to fill this void by providing an efficient, up-to-date, and feature-rich package implementing
the client side of the most recent HTTP standards and recommendations.

Designed for extension while providing robust support for the base HTTP protocol, HttpClient
may be of interest to anyone building HTTP-aware client applications such as web browsers,
web service clients, or systems that leverage or extend the HTTP protocol for distributed
communication.



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

Mime
View raw message