24#ifndef SSL_INIT_CALLBACK_INCLUDED
25#define SSL_INIT_CALLBACK_INCLUDED
ssl_artifacts_status
Definition: auth_common.h:899
Kerberos Client Authentication nullptr
Definition: auth_kerberos_client_plugin.cc:251
helper class to deal with optionally empty strings
Definition: ssl_init_callback.h:50
OptionalString & assign(const char *s)
Definition: ssl_init_callback.h:58
~OptionalString()=default
OptionalString(const char *s)
Definition: ssl_init_callback.h:53
std::string value_
Definition: ssl_init_callback.h:65
OptionalString(const OptionalString &)=default
bool empty_
Definition: ssl_init_callback.h:66
OptionalString()
Definition: ssl_init_callback.h:52
const char * c_str() const
Definition: ssl_init_callback.h:57
Class to encasulate callbacks for init/reinit for admin connection port.
Definition: ssl_init_callback.h:115
bool warn_self_signed_ca() override
Definition: ssl_init_callback.cc:500
~Ssl_init_callback_server_admin() override=default
void read_parameters(OptionalString *ca, OptionalString *capath, OptionalString *version, OptionalString *cert, OptionalString *cipher, OptionalString *ciphersuites, OptionalString *key, OptionalString *crl, OptionalString *crl_path, bool *session_cache_mode, long *session_cache_timeout) override
Definition: ssl_init_callback.cc:478
bool provision_certs() override
Definition: ssl_init_callback.h:124
Class to encasulate callbacks for init/reinit for client server connection port.
Definition: ssl_init_callback.h:92
bool provision_certs() override
Definition: ssl_init_callback.cc:459
bool warn_self_signed_ca() override
Definition: ssl_init_callback.cc:471
~Ssl_init_callback_server_main() override=default
void read_parameters(OptionalString *ca, OptionalString *capath, OptionalString *version, OptionalString *cert, OptionalString *cipher, OptionalString *ciphersuites, OptionalString *key, OptionalString *crl, OptionalString *crl_path, bool *session_cache_mode, long *session_cache_timeout) override
Definition: ssl_init_callback.cc:400
ssl_artifacts_status auto_detect_ssl()
Definition: ssl_init_callback.cc:420
Definition: ssl_init_callback.h:70
virtual void read_parameters(OptionalString *ca, OptionalString *capath, OptionalString *version, OptionalString *cert, OptionalString *cipher, OptionalString *ciphersuites, OptionalString *key, OptionalString *crl, OptionalString *crl_path, bool *session_cache_mode, long *session_cache_timeout)=0
virtual bool warn_self_signed_ca()=0
virtual bool provision_certs()=0
virtual ~Ssl_init_callback()=default
required string key
Definition: replication_asynchronous_connection_failover.proto:60
required uint64 version
Definition: replication_group_member_actions.proto:41
std::string mysql_admin_channel
std::string mysql_main_channel
Ssl_init_callback_server_admin server_admin_callback
Definition: ssl_init_callback.cc:506
bool opt_admin_ssl_configured
The configure time value of whether admin TLS used different config or not.
Definition: ssl_init_callback.cc:70
bool opt_tls_certificates_enforced_validation
SSL context options.
Definition: ssl_init_callback.cc:43
bool validate_ciphers(const char *option, const char *val, TLS_version version)
Helper method to validate values of –ssl-cipher and –admin-ssl-cipher.
Definition: ssl_init_callback.cc:100
TLS_version
Definition: ssl_init_callback.h:145
bool validate_tls_version(const char *val)
Helper method to validate values of –tls-version and –admin-tls-version.
Definition: ssl_init_callback.cc:74
std::atomic_bool g_admin_ssl_configured
The runtime value of whether admin TLS used different config or not.
Ssl_init_callback_server_main server_main_callback
Definition: ssl_init_callback.cc:505