I have an application that should connect to a web service https.
Webservice offers a zip file containing the following 3 files: * .crt, * .csr, * .key
Question: can I put them in classpathapplications jarand then upload the certificate only at startup (possibly in my own repository / trust store, which is created on the fly)?
Or do I need to call them in java keystoreon each machine before I can use the client of my application?
My preferred way would be to not install them in the local java storage, but load them on the go during application startup.
source
share