@BeforeAll
    public static void createChains() throws Exception
    {
        // Populate the store with a valid CA certificate.
        validChain       = KeystoreTestUtils.generateValidCertificateChain().getCertificateChain();
        expiredIntChain  = KeystoreTestUtils.generateCertificateChainWithExpiredIntermediateCert().getCertificateChain();
        expiredRootChain = KeystoreTestUtils.generateCertificateChainWithExpiredRootCert().getCertificateChain();
        untrustedCAChain = KeystoreTestUtils.generateValidCertificateChain().getCertificateChain();
    }
The keystore that contains the certificates used by the system under test (refreshed before every test invocation).
xmppserver/src/test/java/org/jivesoftware/openfire/keystore/OpenfireX509TrustManagerTest.java