无法执行playground wso2身份服务器oauth示例

时间:2013-08-09 07:06:07

标签: wso2 identity

每当我点击GetPhotos时,playground(oauth2.jsp)都会给我这个错误:

javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

2 个答案:

答案 0 :(得分:1)

它适用于IS-4.1.0,Tomcat-7.0.41,以及从以下位置下载的WAR文件: https://svn.wso2.org/repos/wso2/scratch/Identity-Server-4.5.0/M6/samples/playground.war

请参阅: http://sureshatt.blogspot.com.es/2013/08/openid-connect-with-wso2-identity.html

似乎有不同的Playground应用程序版本,有些是有缺陷或过时的。

此外,您必须确保输入完整的字符串作为OAuth2 Playground参数(id,secret,...)。在我看来,即使在Firefox中复制粘贴它们也不起作用,所以请确保自己修剪这些字符串。

答案 1 :(得分:0)

您运行的webapp可能不信任来自身份服务器的密钥。请参阅http://docs.wso2.org/display/IS450/WSO2+Identity+Server+as+an+OpenID+Provider

上的步骤9-10