-
Bug
-
Resolution: Fixed
-
P3
-
6, 7
-
b113
-
x86
-
windows_2000, windows_xp, windows_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8161804 | 8u112 | Ivan Gerasimov | P3 | Resolved | Fixed | b03 |
JDK-8156383 | 8u111 | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
JDK-8153336 | 8u102 | Ivan Gerasimov | P3 | Resolved | Fixed | b02 |
JDK-8153941 | 8u101 | Ivan Gerasimov | P3 | Resolved | Fixed | b03 |
JDK-8153924 | 8u92 | Ivan Gerasimov | P3 | Resolved | Fixed | b31 |
JDK-8162219 | emb-8u111 | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
JDK-8155467 | emb-8u101 | Ivan Gerasimov | P3 | Resolved | Fixed | b03 |
JDK-8153337 | 7u131 | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
JDK-8161636 | 7u121 | Ivan Gerasimov | P3 | Resolved | Fixed | b05 |
JDK-8219286 | openjdk7u | Ivan Gerasimov | P3 | Resolved | Fixed | master |
JDK-2162058 | 6-pool | Ivan Gerasimov | P4 | Closed | Won't Fix |
java version "1.6.0-rc"
Java(TM) SE Runtime Environment (build 1.6.0-rc-b101)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b101, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows 2000 english fully patched
A DESCRIPTION OF THE PROBLEM :
The new keystore provider "MSCAPI" does not create uniqe aliase names if several keystore entries with the same subject are located in the windows certificate store.
In such a case only the first keystore entry can be accessed. The other keystore entries are inaccessible because the selection is performed by their alias - which is identical.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create/import two or more certificates with the same subject (or "Issued to" as it is called in windows) and import them into the windows personal certificate store.
Now load the MSCAPI provider and open the keystore "Windows-MY". Then enumerate through all aliases via java.security.KeyStore.aliases().
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The alias has to be unique within a keystore for allowing to accessing the correspondant keystore entry
ACTUAL -
The alias-enumeration contains two or more equal aliases
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-8153336 MSCAPI provider does not create unique alias names
- Resolved
-
JDK-8153337 MSCAPI provider does not create unique alias names
- Resolved
-
JDK-8153924 MSCAPI provider does not create unique alias names
- Resolved
-
JDK-8153941 MSCAPI provider does not create unique alias names
- Resolved
-
JDK-8155467 MSCAPI provider does not create unique alias names
- Resolved
-
JDK-8156383 MSCAPI provider does not create unique alias names
- Resolved
-
JDK-8161636 MSCAPI provider does not create unique alias names
- Resolved
-
JDK-8161804 MSCAPI provider does not create unique alias names
- Resolved
-
JDK-8162219 MSCAPI provider does not create unique alias names
- Resolved
-
JDK-8219286 MSCAPI provider does not create unique alias names
- Resolved
-
JDK-2162058 MSCAPI provider does not create unique alias names
- Closed
- duplicates
-
JDK-8144604 Problem with SSL Client Authentication having multiple certificates on smartcard
- Closed
-
JDK-6672015 Microsoft CryptoAPI KeyStore can have aliases duplicates
- Closed
-
JDK-7192000 MSCAPI as trust provider does not include all certificates with same Subject
- Closed
-
JDK-8058544 SunMSCAPI provider KeyStore.aliases() returns non unique aliases
- Closed
-
JDK-8149344 Application doesn't work with Java 8U45 using smartcard
- Closed
- relates to
-
JDK-8249831 Test sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java is marked with @ignore
- In Progress
-
JDK-8185844 MSCAPI doesn't list aliases correctly
- Resolved
-
JDK-8153948 sun/security/mscapi/ShortRSAKey1024.sh fails with "Field length overflow"
- Closed
-
JDK-8187634 keystore.getCertificateAlias(cert) returns original alias, inconsistent with fix of JDK-6483657
- Closed