Skip to content

Commit

Permalink
Backport 8c1bb2b28066ee32bef22110df06318d938c7d8b
Browse files Browse the repository at this point in the history
  • Loading branch information
jerboaa committed Dec 14, 2023
1 parent 31162fb commit 974e0d4
Showing 1 changed file with 54 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,46 @@
* @run main/othervm -Djava.security.debug=certpath CAInterop certignarootca CRL
*/

/*
* @test id=affirmtrustcommercialca
* @bug 8040012
* @summary Interoperability tests with AffirmTrust Commercial CA
* @library /test/lib
* @build jtreg.SkippedException ValidatePathWithURL CAInterop
* @run main/othervm -Djava.security.debug=certpath,ocsp CAInterop affirmtrustcommercialca OCSP
* @run main/othervm -Djava.security.debug=certpath CAInterop affirmtrustcommercialca CRL
*/

/*
* @test id=affirmtrustnetworkingca
* @bug 8040012
* @summary Interoperability tests with AffirmTrust Networking CA
* @library /test/lib
* @build jtreg.SkippedException ValidatePathWithURL CAInterop
* @run main/othervm -Djava.security.debug=certpath,ocsp CAInterop affirmtrustnetworkingca OCSP
* @run main/othervm -Djava.security.debug=certpath CAInterop affirmtrustnetworkingca CRL
*/

/*
* @test id=affirmtrustpremiumca
* @bug 8040012
* @summary Interoperability tests with AffirmTrust Premium CA
* @library /test/lib
* @build jtreg.SkippedException ValidatePathWithURL CAInterop
* @run main/othervm -Djava.security.debug=certpath,ocsp CAInterop affirmtrustpremiumca OCSP
* @run main/othervm -Djava.security.debug=certpath CAInterop affirmtrustpremiumca CRL
*/

/*
* @test id=affirmtrustpremiumeccca
* @bug 8040012
* @summary Interoperability tests with AffirmTrust Premium ECC CA
* @library /test/lib
* @build jtreg.SkippedException ValidatePathWithURL CAInterop
* @run main/othervm -Djava.security.debug=certpath,ocsp CAInterop affirmtrustpremiumeccca OCSP
* @run main/othervm -Djava.security.debug=certpath CAInterop affirmtrustpremiumeccca CRL
*/

/*
* @test id=teliarootcav2
* @bug 8317373
Expand Down Expand Up @@ -552,6 +592,20 @@ private CATestURLs getTestURLs(String alias) {
return new CATestURLs("https://juolukka.cover.telia.fi:10600",
"https://juolukka.cover.telia.fi:10601");

// These are listed at https://www.affirmtrust.com/resources/
case "affirmtrustcommercialca":
return new CATestURLs("https://validcommercial.affirmtrust.com",
"https://revokedcommercial.affirmtrust.com");
case "affirmtrustnetworkingca":
return new CATestURLs("https://validnetworking.affirmtrust.com",
"https://revokednetworking.affirmtrust.com");
case "affirmtrustpremiumca":
return new CATestURLs("https://validpremium.affirmtrust.com",
"https://revokedpremium.affirmtrust.com");
case "affirmtrustpremiumeccca":
return new CATestURLs("https://validpremiumecc.affirmtrust.com",
"https://revokedpremiumecc.affirmtrust.com");

case "emsignrootcag1":
return new CATestURLs("https://testovg1.emsign.com/RootOVG1.html",
"https://testovg1r.emsign.com/RootOVG1MR.html");
Expand Down

0 comments on commit 974e0d4

Please sign in to comment.