Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cert_file (0.1 sec)

  1. cmd/common-main.go

    				continue
    			}
    		}
    
    		var (
    			certFile = filepath.Join(root.Name(), file.Name(), publicCertFile)
    			keyFile  = filepath.Join(root.Name(), file.Name(), privateKeyFile)
    		)
    		if !isFile(certFile) || !isFile(keyFile) {
    			continue
    		}
    		if err = manager.AddCertificate(certFile, keyFile); err != nil {
    			err = fmt.Errorf("Unable to load TLS certificate '%s,%s': %w", certFile, keyFile, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. internal/config/certs_test.go

    	testCases := []struct {
    		certFile          string
    		expectedResultLen int
    		expectedErr       bool
    	}{
    		{"nonexistent-file", 0, true},
    		{tempFile1, 0, true},
    		{tempFile2, 0, true},
    		{tempFile3, 0, true},
    		{tempFile4, 1, false},
    		{tempFile5, 2, false},
    	}
    
    	for _, testCase := range testCases {
    		certs, err := ParsePublicCertFile(testCase.certFile)
    		if !testCase.expectedErr && err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  3. internal/kms/config.go

    		} else {
    			loadX509KeyPair := func(certFile, keyFile string) (tls.Certificate, error) {
    				// Manually load the certificate and private key into memory.
    				// We need to check whether the private key is encrypted, and
    				// if so, decrypt it using the user-provided password.
    				certBytes, err := os.ReadFile(certFile)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.2.md

    equality-based selector in 1.1).
      * Running against a secured etcd requires these flags to be passed to
    kube-apiserver (instead of --etcd-config):
         * --etcd-certfile, --etcd-keyfile (if using client cert auth)
         * --etcd-cafile (if not using system roots)
      * As part of preparation in 1.2 for adding support for protocol buffers (and the
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
Back to top