- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 122 for certFile (0.13 sec)
-
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
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) -
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) -
pkg/test/cert/ca/root.go
KeyFile string // ConfFile is the path to the file containing the extensions configuration file. ConfFile string // CSRFile used to generate the cert. CSRFile string // CertFile the cert for the root CA. CertFile string } // NewRoot generates the files for a new self-signed Root CA files under the given directory. func NewRoot(workDir string) (Root, error) { root := Root{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 03 18:09:59 UTC 2021 - 2.3K bytes - Viewed (0) -
pkg/kubelet/client/kubelet_client_test.go
"net/url" "strconv" "testing" ) func TestMakeTransportInvalid(t *testing.T) { config := &KubeletClientConfig{ // Invalid certificate and key path TLSClientConfig: KubeletTLSConfig{ CertFile: "../../client/testdata/mycertinvalid.cer", KeyFile: "../../client/testdata/mycertinvalid.key", CAFile: "../../client/testdata/myCA.cer", }, } rt, err := MakeTransport(config) if err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 01:34:49 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/vcstest/vcstest.go
// TLSClient returns an http.Client that can talk to the httptest.Server // whose certificate is written to the given file path. func TLSClient(certFile string) (*http.Client, error) { client := &http.Client{ Transport: http.DefaultTransport.(*http.Transport).Clone(), } pemBytes, err := os.ReadFile(certFile) if err != nil { return nil, err } certpool := x509.NewCertPool() if !certpool.AppendCertsFromPEM(pemBytes) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 13:44:48 UTC 2022 - 3.8K bytes - Viewed (0) -
pkg/test/csrctrl/signer/signer.go
} intermediateCerts, err := util.AppendRootCerts(pemBytes.Bytes(), s.caProvider.caIntermediate.CertFile) if err != nil { return nil, fmt.Errorf("failed to append intermediate certificates (%v)", err) } if appendRootCert { rootCerts, err := util.AppendRootCerts(intermediateCerts, s.caProvider.caLoader.CertFile) if err != nil { return nil, fmt.Errorf("failed to append root certificates (%v)", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 03 18:57:19 UTC 2021 - 2.5K bytes - Viewed (0) -
pkg/controller/certificates/signer/config/types.go
ClusterSigningDuration metav1.Duration } // CSRSigningConfiguration holds information about a particular CSR signer type CSRSigningConfiguration struct { // certFile is the filename containing a PEM-encoded // X509 CA certificate used to issue certificates CertFile string // keyFile is the filename containing a PEM-encoded // RSA or ECDSA private key used to issue certificates KeyFile string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 02 03:38:15 UTC 2021 - 2.4K bytes - Viewed (0) -
pkg/controller/certificates/signer/config/v1alpha1/zz_generated.conversion.go
} return nil } func autoConvert_v1alpha1_CSRSigningConfiguration_To_config_CSRSigningConfiguration(in *v1alpha1.CSRSigningConfiguration, out *config.CSRSigningConfiguration, s conversion.Scope) error { out.CertFile = in.CertFile out.KeyFile = in.KeyFile return nil } // Convert_v1alpha1_CSRSigningConfiguration_To_config_CSRSigningConfiguration is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 8K bytes - Viewed (0) -
pkg/test/csrctrl/signer/ca_provider.go
func (p *caProvider) currentCertContent() ([]byte, error) { certBytes, err := os.ReadFile(p.caIntermediate.CertFile) if err != nil { return []byte(""), fmt.Errorf("error reading CA from cert file %s: %v", p.caLoader.CertFile, err) } return certBytes, nil } // currentKeyContent retrieve current private key content from key file
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 27 08:14:39 UTC 2021 - 4.4K bytes - Viewed (0)