Bug JDK-8153924 "MSCAPI provider does not create unique alias names" should be fixed in 8u92, but...

Henselin, Dirk (A-GDTO-B4) dirk.henselin at autovision-gmbh.com
Tue May 10 07:47:04 UTC 2016


... I still get the same alias for all of my 3 certificates, even though I use 8u92.

Code:
     KeyStore keyStore = KeyStore.getInstance("Windows-MY", "SunMSCAPI");
     keyStore.load(null, null);
     System.out.println(keyStore.getProvider());
     List<String> keyStoreAliases = Collections.list(keyStore.aliases());
     for (String alias : keyStoreAliases) {
     System.out.println(alias + ";@" + System.identityHashCode(alias));
     }

Output:
     SunMSCAPI version 1.8
     Henselin Dirk VWPKI B768543E5D512393;@14802193
     Henselin Dirk VWPKI B768543E5D512393;@564015
     Henselin Dirk VWPKI B768543E5D512393;@26856761

Thanks in advance!

Mit freundlichen Grüßen / Kind regards

Dirk Henselin
Diplom-Mathematiker

AutoVision GmbH
Major-Hirst-Straße 11
38442 Wolfsburg

dirk.henselin at autovision-gmbh.com<mailto:dirk.henselin at autovision-gmbh.com>
www.autovision-gmbh.com<http://www.autovision-gmbh.com/>

Sitz der Gesellschaft: Wolfsburg
Amtsgericht Braunschweig: HRB 100516
Geschäftsführung: Martin Rosik (Vorsitzender), Jürgen Klöpffer

Ein Unternehmen im Volkswagen Konzern | A Volkswagen Group Company



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20160510/31a764dc/attachment.htm>


More information about the security-dev mailing list