Cryptography - Keystore (KS)

> Software Security > Cryptography - Key

1 - About

A keystore is a database of key material.

You only need it:

A keystore contains:

  • key entries (an entity's identity and its private key)
  • and trusted certificate entries (only a public key in addition to the entity's identity). Thus, a trusted certificate entry cannot be used where a private key is required, such as in a

3 - Format

Various types of keystores are available, including:

4 - Management

4.1 - Creation

4.1.1 - Without a key

For pem, see export

4.1.2 - With a key

Generation of a keypair with the RSA public key implementation and creation of a key store with keytool

keytool \
    -alias aliasEntry
    -keyalg RSA 
    -keystore keyStoreName.jks 
    -dname "[email protected], CN=KeyName, OU=Programs Partners, O=Organisation, L=Town, C=NL" 
    -storepass keyStorePassword 
    -keysize 2048 
    -keypass keyPassword



4.2 - List

with Cryptography - Keytool (Key and Certificate Management Tool)

keytool -list -keystore serverkeystore.jks

5 - Soap UI Key Store

  • Add the keystore in the keystores

  • Set the key store to your request properties