MCPcopy Create free account
hub / github.com/apache/impala / LoadCertificateAuthority

Method LoadCertificateAuthority

be/src/kudu/security/tls_context.cc:614–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612}
613
614Status TlsContext::LoadCertificateAuthority(const string& certificate_path) {
615 SCOPED_OPENSSL_NO_PENDING_ERRORS;
616 if (has_cert_) DCHECK(is_external_cert_);
617 Cert c;
618 RETURN_NOT_OK(c.FromFile(certificate_path, DataFormat::PEM));
619 return AddTrustedCertificate(c);
620}
621
622Status TlsContext::InitiateHandshake(TlsHandshake* handshake) const {
623 SCOPED_OPENSSL_NO_PENDING_ERRORS;

Callers 2

ConfigureTlsContextFunction · 0.80
BuildMethod · 0.80

Calls 1

FromFileMethod · 0.45

Tested by 1

ConfigureTlsContextFunction · 0.64