Hi Sriashalya,

Are you getting this error while sending requests to IS ? When you install
new keystore to wso2 product you have to configure it in carbon.xml also.

<KeyStore>
            <!-- Keystore file location-->

<Location>${carbon.home}/repository/resources/security/wso2carbon.jks</Location>
            <!-- Keystore type (JKS/PKCS12 etc.)-->
            <Type>JKS</Type>
            <!-- Keystore password-->
            <Password>wso2carbon</Password>
            <!-- Private Key alias-->
            <KeyAlias>wso2carbon</KeyAlias>
            <!-- Private Key password-->
            <KeyPassword>wso2carbon</KeyPassword>
        </KeyStore>

Regards,
Malintha

On Thu, Oct 1, 2015 at 10:35 AM, Sriashalya Srivathsan <asha...@wso2.com>
wrote:

> Hi
>
> Getting the following error while adding the keystore to IS which is
> provided by the API.
>
> 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
>
> I've added the certificate to java cacerts and wso2 IS.
>
>
> --
> Regards
> S.Sriashalya,
> WSO2 *Inc*.
> lean . enterprise . middleware
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Malintha Adikari*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:    http://malinthas.blogspot.com
Page:   http://about.me/malintha
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to