- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for certFiles (0.25 sec)
-
src/crypto/x509/root_unix_test.go
origFile, origDir := os.Getenv(certFileEnv), os.Getenv(certDirEnv) origCertFiles := certFiles[:] // To prevent any other certs from being loaded in // through "SSL_CERT_FILE" or from known "certFiles", // clear them all, and they'll be reverting on defer. certFiles = certFiles[:0] os.Setenv(certFileEnv, "") defer func() { certFiles = origCertFiles[:] os.Setenv(certDirEnv, origDir) os.Setenv(certFileEnv, origFile)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 00:36:38 UTC 2023 - 6.1K bytes - Viewed (0) -
src/crypto/x509/root_wasm.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build wasm package x509 // Possible certificate files; stop after finding one. var certFiles = []string{} // Possible directories with certificate files; all will be read.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:54:07 UTC 2023 - 373 bytes - Viewed (0) -
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) -
src/crypto/x509/root_unix.go
) func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) { return nil, nil } func loadSystemRoots() (*CertPool, error) { roots := NewCertPool() files := certFiles if f := os.Getenv(certFileEnv); f != "" { files = []string{f} } var firstErr error for _, file := range files { data, err := os.ReadFile(file) if err == nil { roots.AppendCertsFromPEM(data)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:54:07 UTC 2023 - 2.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)