Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for certFiles (0.26 sec)

  1. pkg/security/security.go

    func GetOSRootFilePath() string {
    	// Get and store the OS CA certificate path for Linux systems
    	// Source of CA File Paths: https://golang.org/src/crypto/x509/root_linux.go
    	certFiles := []string{
    		"/etc/ssl/certs/ca-certificates.crt",                // Debian/Ubuntu/Gentoo etc.
    		"/etc/pki/tls/certs/ca-bundle.crt",                  // Fedora/RHEL 6
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. internal/config/certs.go

    	}
    
    	return x509Certs, nil
    }
    
    // LoadX509KeyPair - load an X509 key pair (private key , certificate)
    // from the provided paths. The private key may be encrypted and is
    // decrypted using the ENV_VAR: MINIO_CERT_PASSWD.
    func LoadX509KeyPair(certFile, keyFile string) (tls.Certificate, error) {
    	certPEMBlock, err := os.ReadFile(certFile)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/tls_test.go

    	codec := apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion)
    
    	certFile, keyFile, caFile := configureTLSCerts(t)
    	defer os.RemoveAll(filepath.Dir(certFile))
    
    	// override server config to be TLS-enabled
    	etcdConfig := testserver.NewTestConfig(t)
    	etcdConfig.ClientTLSInfo = transport.TLSInfo{
    		CertFile:      certFile,
    		KeyFile:       keyFile,
    		TrustedCAFile: caFile,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/options/options_test.go

    						CertFile: "/cluster-signing-kubelet-serving/cert-file",
    						KeyFile:  "",
    					},
    					KubeletClientSignerConfiguration: csrsigningconfig.CSRSigningConfiguration{
    						CertFile: "",
    						KeyFile:  "",
    					},
    					KubeAPIServerClientSignerConfiguration: csrsigningconfig.CSRSigningConfiguration{
    						CertFile: "",
    						KeyFile:  "",
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/serving.go

    	PermitAddressSharing bool
    }
    
    type CertKey struct {
    	// CertFile is a file containing a PEM-encoded certificate, and possibly the complete certificate chain
    	CertFile string
    	// KeyFile is a file containing a PEM-encoded private key for the certificate specified by CertFile
    	KeyFile string
    }
    
    type GeneratableKeyCert struct {
    	// CertKey allows setting an explicit cert/key file to use.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 13:08:18 UTC 2024
    - 15.9K bytes
    - Viewed (1)
  6. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/dynamic_serving_content.go

    func NewDynamicServingContentFromFiles(purpose, certFile, keyFile string) (*DynamicCertKeyPairContent, error) {
    	if len(certFile) == 0 || len(keyFile) == 0 {
    		return nil, fmt.Errorf("missing filename for serving cert")
    	}
    	name := fmt.Sprintf("%s::%s::%s", purpose, certFile, keyFile)
    
    	ret := &DynamicCertKeyPairContent{
    		name:     name,
    		certFile: certFile,
    		keyFile:  keyFile,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. pkg/kubelet/certificate/kubelet.go

    	if err != nil {
    		klog.ErrorS(err, "invalid certificate and key pair from file", "certFile", m.certFile, "keyFile", m.keyFile)
    		return
    	}
    	m.currentTLSCertificate.Store(&cert)
    	klog.V(4).InfoS("loaded certificate and key pair in kubelet server certificate manager", "certFile", m.certFile, "keyFile", m.keyFile)
    }
    
    // Current returns the last valid certificate key pair loaded from files.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/certcontroller.go

    	if err := s.istiodCertBundleWatcher.SetFromFilesAndNotify(tlsOptions.KeyFile, tlsOptions.CertFile, tlsOptions.CaCertFile); err != nil {
    		return fmt.Errorf("set keyCertBundle failed: %v", err)
    	}
    	// TODO: Setup watcher for root and restart server if it changes.
    	for _, file := range []string{tlsOptions.CertFile, tlsOptions.KeyFile} {
    		log.Infof("adding watcher for certificate %s", file)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. pilot/pkg/bootstrap/server_test.go

    		close(stop)
    		_ = s.fileWatcher.Close()
    	}()
    
    	certFile := filepath.Join(dir, "cert-file.yaml")
    	keyFile := filepath.Join(dir, "key-file.yaml")
    	caFile := filepath.Join(dir, "ca-file.yaml")
    
    	// load key and cert files.
    	if err := os.WriteFile(certFile, testcerts.ServerCert, 0o644); err != nil { // nolint: vetshadow
    		t.Fatalf("WriteFile(%v) failed: %v", certFile, err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go

    					Prefix: "/registry",
    					Transport: storagebackend.TransportConfig{
    						ServerList:    nil,
    						KeyFile:       "/var/run/kubernetes/etcd.key",
    						TrustedCAFile: "/var/run/kubernetes/etcdca.crt",
    						CertFile:      "/var/run/kubernetes/etcdce.crt",
    					},
    					CompactionInterval:    storagebackend.DefaultCompactInterval,
    					CountMetricPollPeriod: time.Minute,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top