Java Keystores
How to create java key/trust stores for use with Java client applications.
There are many times when you may wish to create a Java keystore from certificates and keys and vice versa. This guide aims to explain how this can be done.
Import
If you need to create a Java keystore from a .crt and .key then this is how to do it.
Convert your keys to der format
ImportKey
Use the ImportKey class in the stroom-java-client library to import keys.
For example:
Export
ExportKey
Use the ExportKey class in the stroom-java-client library to export keys. If you would like to use curl or similar application but only have keys contained within a Java keystore then they can be exported.
For example:
This will print both the key and certificate to standard out. This can then be copied into a PEM file for use with cURL or other similar application.
Last modified March 17, 2026: Merge branch '7.10' into 7.11 (75cbea0)