How can I validate a public certificate (one I have in file) against JVM trustStore without providing explicit link to ceacert file?
It's done e.g. by javax.net.ssl.SSLSocketFactory (SSLPoke.java example here: https://gist.github.com/4ndrej/4547029)
Edited: I've changed original question after understanding better the problem and difference between trustStore and keyStore