Hi Achala,
We have already added github certificate to our truststore (see r152014).
You can check for the trusted certs using keytool -list -v -keystore
{path_to_client-truststore.jks}
Regards,
Keheliya
On Tue, Jan 22, 2013 at 11:13 AM, Nuwan Bandara <[email protected]> wrote:
> 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
>
>
--
*Keheliya Gallaba*
Software Engineer;
Integration Technologies Team; WSO2 Inc.; http://wso2.com,
*email: **keheliya [AT] wso2.com* <[email protected]>
*mobile: +94 71 551 8881*
*blog: **http://galpotha.wordpress.com* <http://galpotha.wordpress.com>*
twitter: **http://twitter.com/keheliya* <http://twitter.com/keheliya>*
linked-in:
**http://lk.linkedin.com/in/keheliya*<http://lk.linkedin.com/in/keheliya>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev