Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for certFiles (0.23 sec)

  1. src/crypto/x509/root_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package x509
    
    import "internal/goos"
    
    // Possible certificate files; stop after finding one.
    var certFiles = []string{
    	"/etc/ssl/certs/ca-certificates.crt",                // Debian/Ubuntu/Gentoo etc.
    	"/etc/pki/tls/certs/ca-bundle.crt",                  // Fedora/RHEL 6
    	"/etc/ssl/ca-bundle.pem",                            // OpenSUSE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:55:35 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. docs/iam/access-manager-plugin.go

    	flag.Parse()
    	serveFunc := func() error {
    		return http.ListenAndServe(":8080", nil)
    	}
    
    	if certFile != "" || keyFile != "" {
    		if certFile == "" || keyFile == "" {
    			log.Fatal("Please provide both a key file and a cert file to enable TLS.")
    		}
    		serveFunc = func() error {
    			return http.ListenAndServeTLS(":8080", certFile, keyFile, nil)
    		}
    	}
    
    	http.HandleFunc("/", mainHandler)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 08 17:15:20 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. cmd/kube-controller-manager/app/certificates.go

    	return len(config.KubeletServingSignerConfiguration.CertFile) > 0 || len(config.KubeletServingSignerConfiguration.KeyFile) > 0
    }
    func areKubeletClientSignerFilesSpecified(config csrsigningconfig.CSRSigningControllerConfiguration) bool {
    	// if only one is specified, it will error later during construction
    	return len(config.KubeletClientSignerConfiguration.CertFile) > 0 || len(config.KubeletClientSignerConfiguration.KeyFile) > 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top