无法执行操场wso2标识服务器oauth示例



每当我点击GetPhotos时,操场(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

它适用于IS-4.0.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中复制粘贴它们也不起作用,所以一定要自己修剪这些字符串。

也许您正在运行的Web应用程序不信任来自身份服务器的密钥。请参见上的步骤9-10http://docs.wso2.org/display/IS450/WSO2+Identity+Server+as+an+OpenID+Provider

相关内容

最新更新