Hi, Please suggest how to resolve the certificate issue.
I have created new certificate in java on path {JAVA_HOME}/jre/lib/security/ . That didnt help. Has to pass Constants.PROPERTY_TRUST_ALL_CERTS to make it work. What is the correct procedure to pass certificate for every public clouds through jclouds? if I have to ship the application to any remote machine ? Regards, Subhadip ------------------------------------------------------------------------------------------------------------------- On Fri, Sep 4, 2015 at 4:48 PM, Subhadip Bagui <i.ba...@gmail.com> wrote: > Hi, > > My server time was not synchronized with current time. Thats why the > request was failing for aws. After updating the time the same is working > fine. > > > I'm having some different issue now. From my local when I'm trying to > connect to any public cloud I'm getting the below issue. Please let me know > how to overcome that. > > sun.security.validator.ValidatorException: PKIX path building failed: > sun.security.provider.certpath.SunCertPathBuilderException: unable to find > valid certification path to requested target connecting to POST > https://accounts.google.com/o/oauth2/token HTTP/1.1 connecting to GET > https://www.googleapis.com/compute/v1/projects/611861444111 HTTP/1.1 > > > > Regards, > Subhadip > > > ------------------------------------------------------------------------------------------------------------------- > > On Tue, Sep 1, 2015 at 8:17 PM, Subhadip Bagui <i.ba...@gmail.com> wrote: > >> Hi Andrew, >> >> This is happening while I'm trying to authenticate with particular >> endpoint for a region. >> >> I didn't check with version 1.9.0. Will check and let u know >> >> Regards, >> Subhadip >> >> >> ------------------------------------------------------------------------------------------------------------------- >> >> On Tue, Sep 1, 2015 at 7:26 PM, Andrew Phillips <andr...@apache.org> >> wrote: >> >>> Hi Subhadip >>> >>> I'm getting the below error while authenticating with ec2 for any a >>>> particular region. >>>> >>> >>> Just to confirm: if you use 1.9.0, you do *not* get this error? >>> >>> Regards >>> >>> ap >>> >> >> >