=============================GENERATING KEYPAIR TO STORE IN CAPI KEYSTORE========================================= Generating KeyPair with Alias Name: BRUCE_LEE which does not exist in the CAPI KeyStore executing KeyTool command as under : z:/jdk/6.0/latest/binaries/windows-i586//bin//keytool.exe -J-Djava.security.manager -J-Djava.security.policy=KeytoolCAPI.policy -keystore NONE -provider sun.security.mscapi.SunMSCAPI -genkeypair -v -noprompt -alias BRUCE_LEE -storetype Windows-My -keyalg RSA -keysize 1024 -dname cn=sqe, ou=j2se-sqe, o=sun, c=us Generating 1,024 bit RSA key pair and self-signed certificate (MD5withRSA) with a validity of 90 days for: CN=sqe, OU=j2se-sqe, O=sun, C=us keytool error: java.lang.UnsupportedOperationException: Cannot assign the key to the given alias. java.lang.UnsupportedOperationException: Cannot assign the key to the given alias. at sun.security.mscapi.KeyStore.engineSetKeyEntry(KeyStore.java:399) at java.security.KeyStore.setKeyEntry(KeyStore.java:869) at sun.security.tools.KeyTool.doGenKeyPair(KeyTool.java:1172) at sun.security.tools.KeyTool.doCommands(KeyTool.java:786) at sun.security.tools.KeyTool.run(KeyTool.java:171) at sun.security.tools.KeyTool.main(KeyTool.java:165) =============================GENERATING KEYPAIR TO STORE IN CAPI KEYSTORE========================================= Generating KeyPair with Alias Name: BRUCE_LEE which does not exist in the CAPI KeyStore executing KeyTool command as under : z:/jdk/6.0/latest/binaries/windows-i586//bin//keytool.exe -J-Djava.security.manager -J-Djava.security.policy=KeytoolCAPI.policy -keystore NONE -provider sun.security.mscapi.SunMSCAPI -genkeypair -v -noprompt -alias BRUCE_LEE -storetype Windows-My -keyalg RSA -keysize 1024 -dname cn=sqe, ou=j2se-sqe, o=sun, c=us Generating 1,024 bit RSA key pair and self-signed certificate (MD5withRSA) with a validity of 90 days for: CN=sqe, OU=j2se-sqe, O=sun, C=us keytool error: java.lang.UnsupportedOperationException: Cannot assign the key to the given alias. java.lang.UnsupportedOperationException: Cannot assign the key to the given alias. at sun.security.mscapi.KeyStore.engineSetKeyEntry(KeyStore.java:399) at java.security.KeyStore.setKeyEntry(KeyStore.java:869) at sun.security.tools.KeyTool.doGenKeyPair(KeyTool.java:1172) at sun.security.tools.KeyTool.doCommands(KeyTool.java:786) at sun.security.tools.KeyTool.run(KeyTool.java:171) at sun.security.tools.KeyTool.main(KeyTool.java:165)
|