HTTPS & Keytool too
I have spent a lot of time trying to find an answer now and im hoping someone can help me. I am getting the error.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
The HTTPS site i am connecting to does have a valid SSL certificate from godaddy never the less it looks as though I need to configure my JAVA app to add this certificate in order to connect. Locally this is fine but I want to be able to deploy this to multiple servers and have the application automatically configure the keytool etc on first run. I have used part of this tutorial:
But still not getting any further much is appreciated.
The solution to this problem is discussed at www dot java-samples dot com site.
I am unable to post the link as I have not posted more than 20 links. However you can search that site I have mentioned above with this text javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: and you should find the right tutorial.
thanks for your responce but there is an error with that site atm. Any other solutions?
what do you mean by 'error' at site atm ???
I did access the site eventualy but the tutorial on using the keytool is not what im looking for. I want to JAVA app to manage and install the SSL issues as it goes rather than correcting them manauly.
Problem has been solved. certificates are now added automaticaly.