Proposal for new TLS options
- MARIADB_OPT_TLS_PEER_NAME (char *)- peer name to be used. If this value is not set, then the name is guessed based on the hostname used for the connection
- MARIADB_OPT_TLS_VERIFY_PEER (boolean) - Require validation of peer certificate (default TRUE)
- MARIADB_OPT_TLS_VERIFY_PEER_NAME (boolean) - Require verification of peer name
- MARIADB_OPT_TLS_ALLOW_SELF_SIGNED (boolean) - allow self signed certificates (default FALSE)
- MARIADB_OPT_TLS_VERIFY_DEPTH (integer) - abort if the certificate chain is too deep (default 0)
- MARIADB_OPT_TLS_VERSION (char *) - specifies supported TLS versions (TLSv1, TLSv1.1, TLSv1.2) (default "TLSv1,TLSv1.1,TLSv1.2)
- MARIADB_OPT_TLS_VERIFY_PEER_FP
- MARIADB_OPT_TLS_VERIFY_PEER_FP_LIST (char *) - verify finger print of peer certificate
- MARIADB_OPT_TLS_SESSION_CACHE_SIZE (integer *) - size of session cache (default 0)
|