The page that you are currently viewing is for an old version of Stroom (7.1). The documentation for the latest version of Stroom (7.8) can be found using the version drop-down at the top of the screen or by clicking here.
Java Keystores
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.