Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cer (0.01 sec)

  1. cmd/test-utils_test.go

    	//
    	//	pemFile := filepath.Join(testDataDir, "server.pem")
    	//	keyFile := filepath.Join(testDataDir, "server.key")
    	cer, err := tls.X509KeyPair(cert, key)
    	if err != nil {
    		t.Fatalf("Failed to load certificate: %v", err)
    	}
    	config := &tls.Config{Certificates: []tls.Certificate{cer}}
    
    	testServer := UnstartedTestServer(t, instanceType)
    	testServer.Server.TLS = config
    	testServer.Server.StartTLS()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top