You need to install the relevant certs for the API ur calling.

Regards,
/Nuwan


On Tue, Jan 22, 2013 at 11:10 AM, Achala Aponso <[email protected]> wrote:

> Hi,
>
> I am trying to validate the GitHub username given by the user using the
> [1]. When I used the jaggery get() with the tryit am getting the following
> error.
>
> <%
>  var validate = get("https://api.github.com/users/achalac2011","json";);
>  print(validate);
>  %>
>
> Result:
>
> org.jaggeryjs.scriptengine.exceptions.ScriptException:
> 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 at line #2
>
> Is it possible to get a status from above operation. Appreciate any help.
>
>
> [1] http://developer.github.com/v3/users/#get-a-single-user
>
> Thanks,
>
> --
> Achala Aponso
> Software Engineer; WSO2 Inc.; http://wso2.com,
> Email: [email protected] Mobile: +94 (77) 5234925
> Blog: http://achala11.blogspot.com/
>
>



-- 
*Thanks & Regards,

Nuwan Bandara
Associate Technical Lead & Member, MC, Development Technologies
WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763 9629
*
<http://www.nuwanbando.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to