<html><head></head><body><div>Hi,</div><div><br></div><div> We are a PKCS#11 vendor and we are in the process of integrating our C library with keytool and jarsigner. </div><div><br></div><div>We are executing the following comand line. </div><div><br></div><div><div>keytool -keystore NONE -storetype PKCS11 -storepass 12345678 -providerName SunPKCS11-P6Rtoken -providerclass sun.security.pkcs11.SunPKCS11 -providerarg E:\work\SKC_OPT_2015_2\p6r.cfg -genkeypair -keyalg RSA -keysize 2048 -alias p6rsignkey -v</div></div><div><br></div><div>We are doing this on Windows, and we are using the latest Java keytool out of the JDK. </div><div>Our library is 64 bits and the Java version we have installed is 64 bits.</div><div><br></div><div>Now what we are seeing is strange. The above worked one time with the key pair being generated and stored in our PKCS11 library.</div><div><br></div><div>Then we reset everything and continued to do testing and the result was that keytool again created a Certificate and a Private key and placed them into our PKCS11 library. </div><div><br></div><div>However, instead of finishing by creating the key pair by calling our PKCS11 library it just stopped and returned. There was no error or exception printed out. </div><div><br></div><div>So we are stuck not knowing what is wrong? Any one seen this before or have a way we can see why the keytool is "aborting" out of running?</div><div><br></div><div><br></div><div><br></div><div>Best,</div><div>Mark Joseph</div><div>P6R, Inc</div></body></html>