[prev in list] [next in list] [prev in thread] [next in thread]
List: wsf-javascript-dev
Subject: Re: [Dev] Connector Integration Test error - SSLHandshakeException
From: Krishantha Samaraweera <krishantha () wso2 ! com>
Date: 2014-06-28 14:51:27
Message-ID: CACzzCrJY8tjufLLj4gS9oNy3PNLWy4Nnqxj+QFvpTkyA5OE6tA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi Jayomi,
Can you import cert to keystores at your integration test module
(src/test/resources/keystores)
├── products
│ ├── client-truststore.jks
│ └── wso2carbon.jks
Thanks,
Krishantha.
On Fri, Jun 27, 2014 at 3:09 PM, Jayomi Rajapaksha <
jayomi.rajapaksha@gmail.com> wrote:
> Hi All,
>
> I tryed to execute the integration test cases of the Bitly connector, it
> gives me the following error.I try to solve this and added keytool to the
> cacerts file as this[1], but above exception and failer is continuing
> yet.Please let me know a way to solve this.
>
> Failed:
> 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.
>
> Results :
>
> Failed tests:
> testgetUserInfo(org.wso2.carbon.connector.integration.test.bitly.BitlyConnectorIntegrationTest):
>
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target.
>
> The connector is getting uploaded and successfully deployed. I've imported
> the certificate to the keystore as well. And I'm passing the valid access
> token via url. Please let me know a way to solve this.
>
> [1]
> http://stackoverflow.com/questions/9619030/resolving-javax-net-ssl-sslhandshakeexception-sun-security-validator-validatore
>
>
>
> --
> Thanks & Best Regards
> Jayomi Rajapaksha
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
--
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
[Attachment #5 (text/html)]
<div dir="ltr">Hi Jayomi,<div><br></div><div>Can you import cert to keystores at your \
integration test module (src/test/resources/keystores) \
</div><div><br></div><div><div>├── products</div><div>│ ├── \
client-truststore.jks</div> <div>│ └── \
wso2carbon.jks</div></div><div><br></div><div>Thanks,<br>Krishantha.</div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 3:09 PM, \
Jayomi Rajapaksha <span dir="ltr"><<a href="mailto:jayomi.rajapaksha@gmail.com" \
target="_blank">jayomi.rajapaksha@gmail.com</a>></span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi All,<br><br>I tryed to execute the \
integration test cases of the Bitly connector, it gives me the following error.I try \
to solve this and added keytool to the cacerts file as this[1], but above exception \
and failer is continuing yet.Please let me know a way to solve this.<br>
<br>Failed:<br>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.<br>
<br>Results :<br><br>Failed tests: \
testgetUserInfo(org.wso2.carbon.connector.integration.test.bitly.BitlyConnectorIntegrationTest): \
sun.security.validator.ValidatorException: PKIX path building failed: \
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid \
certification path to requested target. <br>
<br>The connector is getting uploaded and successfully deployed. I've imported \
the certificate to the keystore as well. And I'm passing the valid access token \
via url. Please let me know a way to solve this.<br><br>
[1] <a href="http://stackoverflow.com/questions/9619030/resolving-javax-net-ssl-sslhandshakeexception-sun-security-validator-validatore" \
target="_blank">http://stackoverflow.com/questions/9619030/resolving-javax-net-ssl-sslhandshakeexception-sun-security-validator-validatore</a><span \
class="HOEnZb"><font color="#888888"><br>
<br><br clear="all"><br>-- <br><div dir="ltr"><div>Thanks & <span \
style="background-color:rgb(68,68,68)"><span></span></span>Best \
Regards<br></div>Jayomi Rajapaksha<span \
style="background-color:rgb(0,0,255)"><span></span></span><br>
</div>
</font></span></div>
<br>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@wso2.org">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" \
target="_blank">http://wso2.org/cgi-bin/mailman/listinfo/dev</a><br> \
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif">Krishantha \
Samaraweera</span></div><div><div dir="ltr"><font face="arial, helvetica, \
sans-serif">Senior Technical Lead - Test Automation</font></div> <div dir="ltr"><span \
style="font-family:arial,helvetica,sans-serif">Mobile: <a value="+94773125935" \
style="color:rgb(17,85,204)">+94 77 7759918</a></span></div><div dir="ltr"><span \
style="color:rgb(136,136,136)">WSO2, Inc.; </span><a href="http://wso2.com/" \
style="color:rgb(17,85,204)" target="_blank">http://wso2.com/</a></div> <div \
dir="ltr"><div><span style="color:rgb(136,136,136)">lean . enterprise . \
middlewear.</span></div></div></div></div> </div>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic