Hello fellow developers.
An application of mine retreives html from external servers, some of them require ssl communications.
Now, since one of those clienst changed it's ssl certificate from a major authority to a less known (to me) authority called "UTN-USERFirst-Hardware".
This resulted in my application getting errors like:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found
Now, from what i've understood older versions of java could miss some CA root certificates in the cacerts file. What i found, and did, is export existing certificates from this authority out of my browser and import those certificates using keytool.
Now my application doesn't generate the SSLHandshakeException mentioned but it also doesn't work correctly anymore.
My question is, can i assume that the certificates are installed correctly when i don't get these SSLHandshakeException anymore?
And can i, to be sure of a correct cacerts file, copy a more recent cacerts file without problems?
Thank you in advanced for your help.