- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SSL_CERT_DIR (0.25 sec)
-
src/crypto/x509/root_unix.go
// to check for SSL certificate files. If set this overrides the system default. // It is a colon separated list of directories. // See https://www.openssl.org/docs/man1.0.2/man1/c_rehash.html. certDirEnv = "SSL_CERT_DIR" ) func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) { return nil, nil } func loadSystemRoots() (*CertPool, error) { roots := NewCertPool()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:54:07 UTC 2023 - 2.7K bytes - Viewed (0) -
src/crypto/x509/root_unix_test.go
} } if r.len() > len(tc.cns) { t.Errorf("got %v certs, which is more than %v wanted", r.len(), len(tc.cns)) } }) } } // Ensure that "SSL_CERT_DIR" when used as the environment // variable delimited by colons, allows loadSystemRoots to // load all the roots from the respective directories. // See https://golang.org/issue/35325.
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/cert_pool.go
} copy(p.lazyCerts, s.lazyCerts) return p } // SystemCertPool returns a copy of the system cert pool. // // On Unix systems other than macOS the environment variables SSL_CERT_FILE and // SSL_CERT_DIR can be used to override the system default locations for the SSL // certificate file and SSL certificate files directory, respectively. The // latter can be a colon-separated list. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:41:40 UTC 2023 - 8.9K bytes - Viewed (0)