Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for certFile (0.26 sec)

  1. 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)
  2. pkg/test/cert/cert.go

    }
    
    // GenerateCert and writes output to certFile.
    func GenerateCert(confFile, csrFile, keyFile, certFile string) error {
    	return openssl("x509", "-req",
    		"-days", "100000",
    		"-signkey", keyFile,
    		"-extensions", "req_ext",
    		"-extfile", confFile,
    		"-in", csrFile,
    		"-out", certFile)
    }
    
    // GenerateIntermediateCert from the rootCA and writes to certFile.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 22 14:18:21 UTC 2023
    - 1.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/csrsigningcontroller.go

    	anySpecificFilesSet := len(o.KubeletServingSignerConfiguration.CertFile) > 0 || len(o.KubeletServingSignerConfiguration.KeyFile) > 0 ||
    		len(o.KubeletClientSignerConfiguration.CertFile) > 0 || len(o.KubeletClientSignerConfiguration.KeyFile) > 0 ||
    		len(o.KubeAPIServerClientSignerConfiguration.CertFile) > 0 || len(o.KubeAPIServerClientSignerConfiguration.KeyFile) > 0 ||
    		len(o.LegacyUnknownSignerConfiguration.CertFile) > 0 || len(o.LegacyUnknownSignerConfiguration.KeyFile) > 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 03 06:47:49 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  5. pkg/test/cert/ca/intermediate.go

    	ConfFile string
    	CSRFile  string
    	CertFile string
    	Root     Root
    }
    
    // NewIntermediate creates a new intermediate CA for the given cluster.
    func NewIntermediate(workDir, config string, root Root) (Intermediate, error) {
    	ca := Intermediate{
    		KeyFile:  filepath.Join(workDir, "ca-key.pem"),
    		ConfFile: filepath.Join(workDir, "ca.conf"),
    		CSRFile:  filepath.Join(workDir, "ca.csr"),
    		CertFile: filepath.Join(workDir, "ca-cert.pem"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/certificates_test.go

    		KubeletServingSignerConfiguration: csrsigningconfig.CSRSigningConfiguration{
    			CertFile: "/cluster-signing-kubelet-serving/cert-file",
    			KeyFile:  "/cluster-signing-kubelet-serving/key-file",
    		},
    		KubeletClientSignerConfiguration: csrsigningconfig.CSRSigningConfiguration{
    			CertFile: "/cluster-signing-kubelet-client/cert-file",
    			KeyFile:  "/cluster-signing-kubelet-client/key-file",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 09 12:14:55 UTC 2020
    - 12.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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 (0)
  10. 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)
Back to top