A keystore is a database of key material. ie:
You only need it:
A keystore contains:
Various types of keystores are available, including:
For pem, see Privacy-Enhanced Mail (PEM) (OpenSsh format)
Generation of a keypair with the RSA public key implementation and creation of a key store with keytool
keytool \
-genkeypair
-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
where:
with Cryptography - Keytool (Key and Certificate Management Tool)
keytool -list -keystore serverkeystore.jks