I am running the following command with java 9 :
keytool -keystore NONE -storetype PKCS11 -providerClass sun.security.pkcs11.SunPKCS11 -providerArg pkcs11conf -list
and get the flowing error :
keytool error: java.lang.Exception: Provider "sun.security.pkcs11.SunPKCS11" not found
In Java 8 it works.
How does one use keytool with SunPKCS11 provider?