|
1 | 1 | /* |
2 | | - * Copyright (c) 2023, 2025, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 2023, 2026, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 | 4 | * |
5 | 5 | * This code is free software; you can redistribute it and/or modify it |
|
543 | 543 | * sectigotlsroote46 CRL |
544 | 544 | */ |
545 | 545 |
|
| 546 | +/* |
| 547 | + * @test id=wisekeyglobalrootgbca |
| 548 | + * @bug 8372351 |
| 549 | + * @summary Interoperability tests with OISTE WISeKey Global Root GB CA |
| 550 | + * @library /test/lib |
| 551 | + * @build jtreg.SkippedException ValidatePathWithURL CAInterop |
| 552 | + * @run main/othervm/manual -Djava.security.debug=certpath,ocsp CAInterop |
| 553 | + * wisekeyglobalrootgbca OCSP |
| 554 | + * @run main/othervm/manual -Djava.security.debug=certpath,ocsp |
| 555 | + * -Dcom.sun.security.ocsp.useget=false CAInterop wisekeyglobalrootgbca OCSP |
| 556 | + * @run main/othervm/manual -Djava.security.debug=certpath CAInterop |
| 557 | + * wisekeyglobalrootgbca CRL |
| 558 | + */ |
| 559 | + |
| 560 | +/* |
| 561 | + * @test id=wisekeyglobalrootgcca |
| 562 | + * @bug 8372351 |
| 563 | + * @summary Interoperability tests with OISTE WISeKey Global Root GC CA |
| 564 | + * @library /test/lib |
| 565 | + * @build jtreg.SkippedException ValidatePathWithURL CAInterop |
| 566 | + * @run main/othervm/manual -Djava.security.debug=certpath,ocsp CAInterop |
| 567 | + * wisekeyglobalrootgcca OCSP |
| 568 | + * @run main/othervm/manual -Djava.security.debug=certpath,ocsp |
| 569 | + * -Dcom.sun.security.ocsp.useget=false CAInterop wisekeyglobalrootgcca OCSP |
| 570 | + * @run main/othervm/manual -Djava.security.debug=certpath CAInterop |
| 571 | + * wisekeyglobalrootgcca CRL |
| 572 | + */ |
| 573 | + |
546 | 574 | /** |
547 | 575 | * Collection of certificate validation tests for interoperability with external CAs. |
548 | 576 | * These tests are marked as manual as they depend on external infrastructure and may fail |
@@ -721,6 +749,13 @@ private CATestURLs getTestURLs(String alias) { |
721 | 749 | new CATestURLs("https://sectigopublicserverauthenticationroote46-ev.sectigo.com", |
722 | 750 | "https://sectigopublicserverauthenticationroote46-ev.sectigo.com:444"); |
723 | 751 |
|
| 752 | + case "wisekeyglobalrootgbca" -> |
| 753 | + new CATestURLs("https://gbvalidssl.hightrusted.com", |
| 754 | + "https://gbrevokedssl.hightrusted.com"); |
| 755 | + case "wisekeyglobalrootgcca" -> |
| 756 | + new CATestURLs("https://gcvalidssl.hightrusted.com", |
| 757 | + "https://gcrevokedssl.hightrusted.com"); |
| 758 | + |
724 | 759 | default -> throw new RuntimeException("No test setup found for: " + alias); |
725 | 760 | }; |
726 | 761 | } |
|
0 commit comments