Daisuke-Shimada / openid4java

Automatically exported from code.google.com/p/openid4java
Apache License 2.0
0 stars 0 forks source link

SSL transport error when doing discovery with http client 4.1.12 #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set OP to https://www.google.com/accounts/o8/id
2. Start discovery
3.

What is the expected output? What do you see instead?
[#|2011-09-24T16:56:43.541+0200|WARNING|sun-appserver2.1|javax.enterprise.system
.stream.err|_ThreadID=134;_ThreadName=httpSSLWorkerThread-8080-9;_RequestID=cb30
01b1-d833-4646-8143-27bc7241c646;|
org.openid4java.discovery.yadis.YadisException: 0x704: I/O transport error: 
hostname in certificate didn't match: <www.google.com/209.85.149.147> != 
<www.google.com>
    at org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(YadisResolver.java:478)
    at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:248)
    at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:232)
    at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:166)
    at org.openid4java.discovery.Discovery.discover(Discovery.java:147)
    at org.openid4java.discovery.Discovery.discover(Discovery.java:129)
    at org.openid4java.consumer.ConsumerManager.discover(ConsumerManager.java:542)
    at org.restlet.ext.openid.RelayingParty.authRequest(RelayingParty.java:111)
    at org.restlet.ext.openid.OpenIdVerifier.verify(OpenIdVerifier.java:264)
    at org.restlet.ext.openid.RedirectAuthenticator.authenticate(RedirectAuthenticator.java:188)
    at org.restlet.security.Authenti

What version of the product are you using? On what operating system?
0.9.6 Linux/OSX

Please provide any additional information below.

It is if you start using apache http client 4.1.12 that this occurs. 

This seems to be a known issue when using a deprecated constructor in apache 
http client 
https://issues.apache.org/jira/browse/HTTPCLIENT-1118

Original issue reported on code.google.com by Kristoff...@gmail.com on 24 Sep 2011 at 3:15

GoogleCodeExporter commented 9 years ago
Duplicate for issue 162.

Original comment by dkocher@sudo.ch on 1 Nov 2011 at 10:59

GoogleCodeExporter commented 9 years ago

Original comment by Johnny.B...@gmail.com on 30 Oct 2012 at 10:17