comparison test/jdk/javax/net/ssl/etc/README @ 49578:7c82bb507446

8190333: sun/security/ssl/X509KeyManager/PreferredKey.java failed with "Failed to get the preferable key aliases" Reviewed-by: mullan
author amjiang
date Tue, 10 Apr 2018 18:16:12 -0700
parents 3739268c203f
children 68fa3d4026ea
comparison
equal deleted inserted replaced
2:5407df817cea 3:3e82104b3672
60 -dname "CN=dummy.example.com, OU=Dummy, O=Dummy, L=Cupertino, ST=CA, C=US" \ 60 -dname "CN=dummy.example.com, OU=Dummy, O=Dummy, L=Cupertino, ST=CA, C=US" \
61 -validity 3652 -keypass passphrase -keystore keystore -storepass passphrase 61 -validity 3652 -keypass passphrase -keystore keystore -storepass passphrase
62 62
63 Alias name: dummydsa 63 Alias name: dummydsa
64 -------------------- 64 --------------------
65 Creation date: Mar 11, 2007 65 Creation date: Mar 29, 2018
66 Entry type: PrivateKeyEntry 66 Entry type: PrivateKeyEntry
67 Certificate chain length: 1 67 Certificate chain length: 1
68 Certificate[1]: 68 Certificate[1]:
69 Owner: CN=dummy.example.com, OU=Dummy, O=Dummy, L=Cupertino, ST=CA, C=US 69 Owner: CN=dummy.example.com, OU=Dummy, O=Dummy, L=Cupertino, ST=CA, C=US
70 Issuer: CN=dummy.example.com, OU=Dummy, O=Dummy, L=Cupertino, ST=CA, C=US 70 Issuer: CN=dummy.example.com, OU=Dummy, O=Dummy, L=Cupertino, ST=CA, C=US
71 Serial number: 45f3a314 71 Serial number: 324d85f0
72 Valid from: Sun Mar 11 06:35:00 UTC 2007 until: Wed Mar 08 06:35:00 UTC 2017 72 Valid from: Thu Mar 29 16:06:34 PDT 2018 until: Tue Mar 28 16:06:34 PDT 2028
73 Certificate fingerprints: 73 Signature algorithm name: SHA256withDSA
74 Signature algorithm name: SHA1withDSA 74 Version: 3
75 Version: 1
76 75
77 This can be generated using hacked (update the keytool source code so that 76 This can be generated using hacked (update the keytool source code so that
78 it can be used for version 1 X.509 certificate) keytool command: 77 it can be used for version 1 X.509 certificate) keytool command:
79 % keytool -genkeypair -alias dummy -keyalg DSA -keysize 1024 \ 78 % keytool -genkeypair -alias dummydsa -keyalg DSA -keysize 1024 \
80 -sigalg SHA1withDSA \ 79 -sigalg SHA256withDSA \
81 -dname "CN=dummy.example.com, OU=Dummy, O=Dummy, L=Cupertino, ST=CA, C=US" \ 80 -dname "CN=dummy.example.com, OU=Dummy, O=Dummy, L=Cupertino, ST=CA, C=US" \
82 -validity 3652 -keypass passphrase -keystore keystore -storepass passphrase 81 -validity 3652 -keypass passphrase -keystore keystore -storepass passphrase
83 82
84 83
85 truststore entries 84 truststore entries