public static SSLContext buildSslContext(boolean forClient)
            throws NoSuchAlgorithmException, KeyManagementException {
        
        SSLContext sslcontext = SSLContext.getInstance("TLS");
        sslcontext.init(null, SelfTrustManager
                        .trustManager(TlsSystemConfig.tlsClientAuthServer, TlsSystemConfig.tlsClientTrustCertPath),
                new java.security.SecureRandom());
        return sslcontext;
    }
@Test
    void testBuildSslContext() throws KeyManagementException, NoSuchAlgorithmException {
        SSLContext actual = TlsHelper.buildSslContext(true);
        assertNotNull(actual);
    }