AnsweredAssumed Answered

Not able to call Apic rest call receives the following  below mentioned error

Question asked by singh.prashant10@tcs.com on Jul 22, 2016

Hi ,

I'm trying to make rest call to APIC api , but stuck with the following problem .

 

Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://192.168.1.145/api/aaaLogin.json?gui-token-request=yes": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is 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 already added the certificate  in the keystore  ,but still it does not give any response.

Outcomes