developerinlondon
Programmer
I am getting the following error trying to fetch a secure url:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This is happening because the remote site is using a test/dummy certificate which is not recognized. But I need to find a way to ignore it.
From google I got the impression this can be fixed by configuring using keytool and adding a certificate for it. I went through the following document -
which explains how to add, but where do I get the .pem file from?
Any help would be appreciated!
thanks
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This is happening because the remote site is using a test/dummy certificate which is not recognized. But I need to find a way to ignore it.
From google I got the impression this can be fixed by configuring using keytool and adding a certificate for it. I went through the following document -
which explains how to add, but where do I get the .pem file from?
Any help would be appreciated!
thanks