Using SSLContext with just a CA certificate and no keystore
I need to setup a javax.net.ssl.SSLContext for use in a Jersey-Client application. All I want to do is the context to accept a custom root ca certificate. Is is really true that there is no way around of generating a keystore file and importing the CA certificate? Is is really true that there is no way around of generating a keystore file and importing the CA certificate? There are way to do it without a keystore file, but since you would have to load the CA certificate you want to trust one way or another, you'll have to load a file or resource somehow. (You could also certainly implement