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

Function IsInternalTlsConfigured

be/src/util/openssl-util.cc:114–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool IsInternalTlsConfigured() {
115 // Enable SSL between servers only if both the client validation certificate and the
116 // server certificate are specified. 'Client' here means clients that are used by Impala
117 // services to contact other Impala services (as distinct from user clients of Impala
118 // like the shell), and 'servers' are the processes that serve those clients. The server
119 // needs a certificate (FLAGS_ssl_server_certificate) to demonstrate it is who the
120 // client thinks it is; the client needs a certificate (FLAGS_ssl_client_ca_certificate)
121 // to validate that assertion from the server.
122 return !FLAGS_ssl_client_ca_certificate.empty() &&
123 !FLAGS_ssl_server_certificate.empty() && !FLAGS_ssl_private_key.empty();
124}
125
126bool IsExternalTlsConfigured() {
127 // If the ssl_server_certificate is set, then external TLS is configured, i.e. external

Callers 12

StartMethod · 0.85
StatestoreMethod · 0.85
InitMethod · 0.85
InitStatestoreHaMethod · 0.85
AdmissiondEnvMethod · 0.85
impala-server.ccFile · 0.85
StartMethod · 0.85
TESTFunction · 0.85
TEST_PFunction · 0.85
TEST_PFunction · 0.85
ExecEnvMethod · 0.85
CatalogdMainFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by 7

StartMethod · 0.68
StatestoreMethod · 0.68
InitMethod · 0.68
InitStatestoreHaMethod · 0.68
TESTFunction · 0.68
TEST_PFunction · 0.68
TEST_PFunction · 0.68