- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 114 for keyFiles (0.52 sec)
-
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, } for i := range etcdConfig.ListenClientUrls {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 3.4K bytes - Viewed (0) -
tests/integration/pilot/forwardproxy/cert_gen.go
func GenerateKeyAndCertificate(subject, dir string) (string, string, error) { keyFile := filepath.Join(dir, fmt.Sprintf("%s-key.pem", subject)) crtFile := filepath.Join(dir, fmt.Sprintf("%s-cert.pem", subject)) if err := openssl( "req", "-x509", "-sha256", "-nodes", "-days", "365", "-newkey", "rsa:2048", "-subj", fmt.Sprintf("/CN=%s", subject), "-keyout", keyFile, "-out", crtFile, ); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 15 23:31:52 UTC 2022 - 1.7K bytes - Viewed (0) -
pkg/test/cert/ca/intermediate.go
// IntermediateCA is an intermediate CA for a single cluster. type Intermediate struct { KeyFile string 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"),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 3.9K bytes - Viewed (0) -
pkg/test/cert/ca/root.go
} // Create the root key. if err := cert.GenerateKey(root.KeyFile); err != nil { return Root{}, err } // Create the root CSR if err := cert.GenerateCSR(root.ConfFile, root.KeyFile, root.CSRFile); err != nil { return Root{}, err } // Create the root cert if err := cert.GenerateCert(root.ConfFile, root.CSRFile, root.KeyFile, root.CertFile); err != nil { return Root{}, err } return root, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 03 18:09:59 UTC 2021 - 2.3K bytes - Viewed (0) -
cmd/kube-controller-manager/app/certificates_test.go
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) -
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) -
docs/iam/access-manager-plugin.go
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) log.Print("Listening on :8080")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/server/options/serving.go
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. CertKey CertKey // CertDirectory specifies a directory to write generated certificates to if CertFile/KeyFile aren't explicitly set.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 13:08:18 UTC 2024 - 15.9K bytes - Viewed (0) -
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, queue: workqueue.NewTypedRateLimitingQueueWithConfig(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 6.9K bytes - Viewed (0)