hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1148) Failed to run ClientFormLogin example
Date Sun, 04 Dec 2011 18:21:40 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCLIENT-1148.
-------------------------------------------

    Resolution: Invalid

http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/201111.mbox/%3CCAOGo0VbawfPefAgVMr6oTrO4LiJ_4wa3CaN2yKWDQO0fWJsdaA%40mail.gmail.com%3E
                
> Failed to run ClientFormLogin example
> -------------------------------------
>
>                 Key: HTTPCLIENT-1148
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1148
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: Examples, HttpClient
>    Affects Versions: 4.1.2
>         Environment: All
>            Reporter: Kenneth zhu
>              Labels: documentation
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> The exception thrown while running the example:
> Exception in thread "main" javax.net.ssl.SSLException: hostname in certificate didn't
match: <portal.sun.com> != <*.oracle.com>
> 	at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:228)
> 	at org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
> 	at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:149)
> 	at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:130)
> 	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:397)
> 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
> 	at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
> 	at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
> 	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
> 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
> 	at org.apache.http.examples.client.ClientFormLogin.main(ClientFormLogin.java:55)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message