< prev index next >
test/sun/security/lib/cacerts/VerifyCACerts.java
Print this page
@ rev 13744 : 8233223: Add Amazon Root CA certificates
| Reviewed-by: mullan
o rev 13743 : 8232019: Add LuxTrust certificate updates to the existing root program
| Reviewed-by: mullan
~
*** 24,34 ****
/**
* @test
* @bug 8189131 8198240 8191844 8189949 8191031 8196141 8204923 8195774 8199779
* 8209452 8209506 8210432 8195793 8216577 8222089 8222133 8222137 8222136
! * 8223499 8232019
* @summary Check root CA entries in cacerts file
*/
import java.io.File;
import java.io.FileInputStream;
import java.security.KeyStore;
--- 24,34 ----
/**
* @test
* @bug 8189131 8198240 8191844 8189949 8191031 8196141 8204923 8195774 8199779
* 8209452 8209506 8210432 8195793 8216577 8222089 8222133 8222137 8222136
! * 8223499 8232019 8233223
* @summary Check root CA entries in cacerts file
*/
import java.io.File;
import java.io.FileInputStream;
import java.security.KeyStore;
*** 48,58 ****
private static final String CACERTS
= System.getProperty("java.home") + File.separator + "lib"
+ File.separator + "security" + File.separator + "cacerts";
// The numbers of certs now.
! private static final int COUNT = 89;
// map of cert alias to SHA-256 fingerprint
@SuppressWarnings("serial")
private static final Map<String, String> FINGERPRINT_MAP
= new HashMap<String, String>() {
--- 48,58 ----
private static final String CACERTS
= System.getProperty("java.home") + File.separator + "lib"
+ File.separator + "security" + File.separator + "cacerts";
// The numbers of certs now.
! private static final int COUNT = 93;
// map of cert alias to SHA-256 fingerprint
@SuppressWarnings("serial")
private static final Map<String, String> FINGERPRINT_MAP
= new HashMap<String, String>() {
*** 233,242 ****
--- 233,250 ----
"DD:69:36:FE:21:F8:F0:77:C1:23:A1:A5:21:C1:22:24:F7:22:55:B7:3E:03:A7:26:06:93:E8:A2:4B:0F:A3:89");
put("globalsignrootcar6 [jdk]",
"2C:AB:EA:FE:37:D0:6C:A2:2A:BA:73:91:C0:03:3D:25:98:29:52:C4:53:64:73:49:76:3A:3A:B5:AD:6C:CF:69");
put("luxtrustglobalroot2ca [jdk]",
"54:45:5F:71:29:C2:0B:14:47:C4:18:F9:97:16:8F:24:C5:8F:C5:02:3B:F5:DA:5B:E2:EB:6E:1D:D8:90:2E:D5");
+ put("amazonrootca1 [jdk]",
+ "8E:CD:E6:88:4F:3D:87:B1:12:5B:A3:1A:C3:FC:B1:3D:70:16:DE:7F:57:CC:90:4F:E1:CB:97:C6:AE:98:19:6E");
+ put("amazonrootca2 [jdk]",
+ "1B:A5:B2:AA:8C:65:40:1A:82:96:01:18:F8:0B:EC:4F:62:30:4D:83:CE:C4:71:3A:19:C3:9C:01:1E:A4:6D:B4");
+ put("amazonrootca3 [jdk]",
+ "18:CE:6C:FE:7B:F1:4E:60:B2:E3:47:B8:DF:E8:68:CB:31:D0:2E:BB:3A:DA:27:15:69:F5:03:43:B4:6D:B3:A4");
+ put("amazonrootca4 [jdk]",
+ "E3:5D:28:41:9E:D0:20:25:CF:A6:90:38:CD:62:39:62:45:8D:A5:C6:95:FB:DE:A3:C2:2B:0B:FB:25:89:70:92");
}
};
// Exception list to 90 days expiry policy
// No error will be reported if certificate in this list expires
< prev index next >