Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for certFiles (0.17 sec)

  1. 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)
  2. src/crypto/x509/root_plan9.go

    	"os"
    )
    
    // Possible certificate files; stop after finding one.
    var certFiles = []string{
    	"/sys/lib/tls/ca.pem",
    }
    
    func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
    	return nil, nil
    }
    
    func loadSystemRoots() (*CertPool, error) {
    	roots := NewCertPool()
    	var bestErr error
    	for _, file := range certFiles {
    		data, err := os.ReadFile(file)
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 828 bytes
    - Viewed (0)
  3. src/crypto/x509/root_aix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package x509
    
    // Possible certificate files; stop after finding one.
    var certFiles = []string{
    	"/var/ssl/certs/ca-bundle.crt",
    }
    
    // Possible directories with certificate files; all will be read.
    var certDirectories = []string{
    	"/var/ssl/certs",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 02 22:53:18 UTC 2021
    - 410 bytes
    - Viewed (0)
  4. 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)
  5. src/crypto/x509/root_solaris.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package x509
    
    // Possible certificate files; stop after finding one.
    var certFiles = []string{
    	"/etc/certs/ca-certificates.crt",     // Solaris 11.2+
    	"/etc/ssl/certs/ca-certificates.crt", // Joyent SmartOS
    	"/etc/ssl/cacert.pem",                // OmniOS
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 02 22:53:18 UTC 2021
    - 538 bytes
    - Viewed (0)
  6. 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)
  7. src/crypto/x509/root_bsd.go

    // license that can be found in the LICENSE file.
    
    //go:build dragonfly || freebsd || netbsd || openbsd
    
    package x509
    
    // Possible certificate files; stop after finding one.
    var certFiles = []string{
    	"/usr/local/etc/ssl/cert.pem",            // FreeBSD
    	"/etc/ssl/cert.pem",                      // OpenBSD
    	"/usr/local/share/certs/ca-root-nss.crt", // DragonFly
    	"/etc/openssl/certs/ca-certificates.crt", // NetBSD
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 02 22:53:18 UTC 2021
    - 748 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top