changeset 47470:359c604930af

8176354: sun/security/ssl/X509KeyManager/PreferredKey.java failed with "Failed to get the preferable key aliases" erro Reviewed-by: xuelei
author amjiang
date Fri, 27 Oct 2017 09:51:48 -0700
parents 6ae08c311cd3
children 304ef03403b1
files test/jdk/ProblemList.txt test/jdk/javax/net/ssl/etc/README test/jdk/javax/net/ssl/etc/keystore
diffstat 3 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/ProblemList.txt	Fri Oct 27 21:11:15 2017 +0800
+++ b/test/jdk/ProblemList.txt	Fri Oct 27 09:51:48 2017 -0700
@@ -218,7 +218,6 @@
 
 sun/security/krb5/auto/UnboundSSL.java                          8180265 windows-all
 sun/security/provider/KeyStore/DKSTest.sh                       8180266 windows-all
-sun/security/ssl/X509KeyManager/PreferredKey.java               8176354 generic-all
 
 ############################################################################
 
--- a/test/jdk/javax/net/ssl/etc/README	Fri Oct 27 21:11:15 2017 +0800
+++ b/test/jdk/javax/net/ssl/etc/README	Fri Oct 27 09:51:48 2017 -0700
@@ -62,22 +62,25 @@
 
 Alias name: dummydsa
 --------------------
-Creation date: Mar 11, 2007
+Creation date: Sep 20, 2017
 Entry type: PrivateKeyEntry
 Certificate chain length: 1
 Certificate[1]:
 Owner: CN=dummy.example.com, OU=Dummy, O=Dummy, L=Cupertino, ST=CA, C=US
 Issuer: CN=dummy.example.com, OU=Dummy, O=Dummy, L=Cupertino, ST=CA, C=US
-Serial number: 45f3a314
-Valid from: Sun Mar 11 06:35:00 UTC 2007 until: Wed Mar 08 06:35:00 UTC 2017
+Serial number: 4e8ca03d
+Valid from: Wed Sep 20 11:10:34 PDT 2017 until: Mon Sep 20 11:10:34 PDT 2027
 Certificate fingerprints:
-Signature algorithm name: SHA1withDSA
-Version: 1
+	 MD5:  5F:6F:01:75:BF:6C:40:B9:65:C0:8D:00:AE:6F:BD:38
+	 SHA1: 31:06:4E:07:B2:01:78:8F:F4:6B:B6:6E:AC:C5:16:76:8B:1A:58:81
+	 SHA256: 86:A1:E6:69:EE:00:50:35:2A:56:F7:F9:8B:61:2B:83:51:44:EA:E9:B0:EF:34:77:94:05:97:8B:73:5A:B0:68
+	 Signature algorithm name: SHA256withDSA
+	 Version: 3
 
 This can be generated using hacked (update the keytool source code so that
 it can be used for version 1 X.509 certificate) keytool command:
-% keytool -genkeypair -alias dummy -keyalg DSA -keysize 1024 \
-  -sigalg SHA1withDSA \
+% keytool -genkeypair -alias dummydsa -keyalg DSA -keysize 2048 \
+  -sigalg SHA256withDSA \
   -dname "CN=dummy.example.com, OU=Dummy, O=Dummy, L=Cupertino, ST=CA, C=US" \
   -validity 3652 -keypass passphrase -keystore keystore -storepass passphrase
 
Binary file test/jdk/javax/net/ssl/etc/keystore has changed