标签:11 04 5.6 encrypted library ssl client mode MySQL
Changes in MySQL 5.6.30 (2016-04-11, General Availability)
Security Notes
-
The linked OpenSSL library for the MySQL Commercial Server has been updated to version 1.0.1s. For a description of issues fixed in this version, see http://www.openssl.org/news/vulnerabilities.html.
This change does not affect the Oracle-produced MySQL Community build of MySQL Server, which uses the yaSSL library instead. (Bug #22685885, Bug #22923458)
-
MySQL client programs now support an
--ssl-mode
option that enables you to specify the security state of the connection to the server. If the option is not specified, the default value isDISABLED
(establish an unencrypted connection).--ssl-mode=REQUIRED
can be specified to require an encrypted connection, or fail if an encrypted connection cannot be obtained.These clients support
--ssl-mode
: mysql, mysqladmin, mysqlcheck, mysqldump, mysqlimport, mysqlshow, mysqlpump, mysqlslap, mysqltest, mysql_upgrade.For more information, see Command Options for Encrypted Connections.
NoteIn MySQL 5.7 and higher, the C client library provides native support for requiring encrypted connections: call the
mysql_options()
C API function, passing theMYSQL_OPT_SSL_MODE
option with a value ofSSL_MODE_REQUIRED
. In MySQL 5.6, the client library provides no such support because doing so would break binary compatibility with previous library versions within the series. Clients that require encrypted connections must implement the logic themselves.To require encrypted connections in MySQL 5.6, the standard MySQL client programs use this technique: If
--ssl-mode=REQUIRED
was specified, the client program turns on SSL, connects to the server, and checks whether the resulting connection is encrypted. If not, the client exits with an error. Third-party applications that must be able to require encrypted connections can use the same technique. For details, see mysql_ssl_set().
标签:11,04,5.6,encrypted,library,ssl,client,mode,MySQL 来源: https://www.cnblogs.com/jinzhenshui/p/12590972.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。