MXS-1553: Enforce SSL usage for monitors

If a server is configured to use SSL, then MaxScale should respect the
configuration and refuse to use a connection that is not encrypted.
This commit is contained in:
Markus Mäkelä
2017-12-01 03:50:57 +02:00
parent 8cce2b4b99
commit 96d9c47016
3 changed files with 20 additions and 0 deletions

View File

@ -96,6 +96,10 @@ typedef struct server
uint8_t charset; /**< Default server character set */
bool is_active; /**< Server is active and has not been "destroyed" */
bool created_online; /**< Whether this server was created after startup */
struct
{
bool ssl_not_enabled; /**< SSL not used for an SSL enabled server */
} log_warning; /**< Whether a specific warning was logged */
#if defined(SS_DEBUG)
skygw_chk_t server_chk_tail;
#endif