Keytool: What values may be used for the storetype

Viewed 2498

When using Java 11, what values can be used for the storetype parameter to keytool? The online documentation gives some examples but does not say what all the valid values are.

Is there a way to have keytool list the suported store types?

1 Answers

Its directly transfered into the KeyStore.getInstance(storetype)-parameter ( as you can see here).

Basically in JDK11 it is on oracle implementation from the Javadoc

  • jceks
  • jks
  • dks
  • pkcs11
  • pkcs12

There are two more implemented in KeyTool runnin on a Windows-System: Windows-MY and Windows-ROOT.

Related