Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for X509KeyPair (0.1 sec)

  1. doc/godebug.md

    not explicitly configured, removing 3DES cipher suites. The default can be reverted
    using the [`tls3des` setting](/pkg/crypto/tls/#Config.CipherSuites).
    
    Go 1.23 changed the behavior of [`tls.X509KeyPair`](/pkg/crypto/tls#X509KeyPair)
    and [`tls.LoadX509KeyPair`](/pkg/crypto/tls#LoadX509KeyPair) to populate the
    Leaf field of the returned [`tls.Certificate`](/pkg/crypto/tls#Certificate).
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	//	testDataDir := filepath.Join(filepath.Dir(dir), "test-data")
    	//
    	//	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)
    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