• msvensson@neptunus.(none)'s avatar
    Bug#17208 SSL: client does not verify server certificate · a51668c7
    msvensson@neptunus.(none) authored
     - Add new function 'ssl_verify_server_cert' which is used if we are 
       connecting to the server with SSL. It will compare the hostname in 
       the server's cert against the hostname that we used when connecting 
       to the server. Will reject the connection if hostname does not match.
     - Add new option "OPT_SSL_VERIFY_SERVER_CERT" to be passed to mysql_options
       which will turn on checking of servers cert.
     - Add new argument "ssl-verify-server-cert" to all mysql* clients which 
       will activate the above option.
     - Generate a new server cert with 1024 bits that has "localhost" as the server name.
    a51668c7
mysql.h 32.3 KB