-
Bug
-
Resolution: Fixed
-
P3
-
22
-
b07
-
x86_64
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8326740 | 21.0.4-oracle | Ramesh Gangadhar | P3 | Resolved | Fixed | b01 |
JDK-8332167 | 21.0.4 | Sendao Yan | P3 | Resolved | Fixed | b03 |
JDK-8326762 | 17.0.12-oracle | Ramesh Gangadhar | P3 | Resolved | Fixed | b01 |
JDK-8332150 | 17.0.12 | Sendao Yan | P3 | Resolved | Fixed | b03 |
JDK-8345843 | 11.0.27-oracle | Abhishek N | P3 | Resolved | Fixed | master |
JDK-8332185 | 11.0.24 | Sendao Yan | P3 | Resolved | Fixed | b03 |
JDK-8345845 | 8u451 | Abhishek N | P3 | Resolved | Fixed | master |
sun/security/mscapi/KeytoolChangeAlias.java
Here's a snippet from the log file:
#section:main
----------messages:(7/247)----------
command: main KeytoolChangeAlias
reason: Assumed action based on file name: run main KeytoolChangeAlias
started: Tue Dec 12 15:47:55 UTC 2023
Mode: agentvm
Agent id: 33
finished: Tue Dec 12 15:48:12 UTC 2023
elapsed time (seconds): 16.045
----------configuration:(14/1373)*----------
<snip>
----------System.out:(8/625)*----------
Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+28-2269\\windows-x64.jdk\\jdk-22\\bin\\keytool.exe -J-Duser.language=en -J-Duser.country=US -changealias -storetype Windows-My -alias 246810 -destalias 13579]
[2023-12-12T15:48:11.613932600Z] Gathering output for process 49464
[2023-12-12T15:48:11.988664400Z] Waiting for completion for process 49464
[2023-12-12T15:48:11.988664400Z] Waiting for completion finished for process 49464
Output and diagnostic info for process 49464 was saved into 'pid-49464-output.log'
keytool error: java.lang.Exception: Alias <246810> does not exist
Exit value: 1
----------System.err:(21/1121)----------
stdout: [keytool error: java.lang.Exception: Alias <246810> does not exist
];
stderr: []
exitValue = 1
java.security.KeyStoreException: error 2148081668, Cannot find object or property.
at jdk.crypto.mscapi/sun.security.mscapi.CKeyStore.removeCertificate(Native Method)
at jdk.crypto.mscapi/sun.security.mscapi.CKeyStore$KeyEntry.delete(CKeyStore.java:190)
at jdk.crypto.mscapi/sun.security.mscapi.CKeyStore.engineDeleteEntry(CKeyStore.java:539)
at jdk.crypto.mscapi/sun.security.mscapi.CKeyStore$MY.engineDeleteEntry(CKeyStore.java:60)
at java.base/java.security.KeyStore.deleteEntry(KeyStore.java:1269)
at KeytoolChangeAlias.main(KeytoolChangeAlias.java:72)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1570)
JavaTest Message: Test threw exception: java.security.KeyStoreException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.security.KeyStoreException: error 2148081668, Cannot find object or property.
- backported by
-
JDK-8326740 sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
- Resolved
-
JDK-8326762 sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
- Resolved
-
JDK-8332150 sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
- Resolved
-
JDK-8332167 sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
- Resolved
-
JDK-8332185 sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
- Resolved
-
JDK-8345843 sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
- Resolved
-
JDK-8345845 sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/270f3cfb
-
Commit openjdk/jdk17u-dev/bf4b15ce
-
Commit openjdk/jdk21u-dev/bddd6a7f
-
Commit openjdk/jdk/b6233c3d
-
Review openjdk/jdk11u-dev/2631
-
Review openjdk/jdk17u-dev/2342
-
Review openjdk/jdk21u-dev/419
-
Review openjdk/jdk/17352