Current Path : /home/usr.opt/mysql57/mysql-test/suite/auth_sec/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/auth_sec/r/ssl_mode.result |
CREATE USER 'user1'@'%' require ssl; grant all on *.* to 'user1'@'%' ; # Testing of all clients with ssl mode PREFERRED mysql.user OK Database: mysql Table: user Wildcard: user +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ | Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment | +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ | User | char(32) | utf8_bin | NO | PRI | | | select,insert,update,references | | +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ mysql.test: Records: 1 Deleted: 0 Skipped: 0 Warnings: 1 # Testing of all clients with ssl mode REQUIRED mysql.user OK Database: mysql Table: user Wildcard: user +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ | Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment | +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ | User | char(32) | utf8_bin | NO | PRI | | | select,insert,update,references | | +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ mysql.test: Records: 1 Deleted: 0 Skipped: 0 Warnings: 1 # Testing of all clients with ssl mode VERIFY_CA mysql.user OK Database: mysql Table: user Wildcard: user +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ | Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment | +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ | User | char(32) | utf8_bin | NO | PRI | | | select,insert,update,references | | +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ mysql.test: Records: 1 Deleted: 0 Skipped: 0 Warnings: 1 # Testing of all clients with ssl mode VERIFY_IDENTITY mysql.user OK Database: mysql Table: user Wildcard: user +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ | Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment | +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ | User | char(32) | utf8_bin | NO | PRI | | | select,insert,update,references | | +-------+----------+-----------+------+-----+---------+-------+---------------------------------+---------+ mysql.test: Records: 1 Deleted: 0 Skipped: 0 Warnings: 1 # Tests related to deprecation of ssl options Variable_name Value Ssl_cipher DHE-RSA-AES256-SHA WARNING: --ssl is deprecated and will be removed in a future version. Use --ssl-mode instead. WARNING: --ssl is deprecated and will be removed in a future version. Use --ssl-mode instead. WARNING: no verification of server certificate will be done. Use --ssl-mode=VERIFY_CA or VERIFY_IDENTITY. ERROR 1045 (28000): Access denied for user 'user1'@'localhost' (using password: NO) Variable_name Value Ssl_cipher DHE-RSA-AES256-SHA WARNING: --ssl-verify-server-cert is deprecated and will be removed in a future version. Use --ssl-mode=VERIFY_IDENTITY instead. # Tests related to invalid option of --ssl-mode # Tests related to valid values of --ssl-mode Variable_name Value Ssl_cipher Variable_name Value Ssl_cipher DHE-RSA-AES256-SHA Variable_name Value Ssl_cipher DHE-RSA-AES256-SHA Variable_name Value Ssl_cipher DHE-RSA-AES256-SHA Variable_name Value Ssl_cipher DHE-RSA-AES256-SHA # Check behavior when --ssl-mode is not passed explicitly Variable_name Value Ssl_cipher DHE-RSA-AES256-SHA # Check behavior when multiple times --ssl-mode is passed Variable_name Value Ssl_cipher DHE-RSA-AES256-SHA # Check the legacy options Variable_name Value Ssl_cipher WARNING: --ssl is deprecated and will be removed in a future version. Use --ssl-mode instead. Variable_name Value Ssl_cipher DHE-RSA-AES256-SHA WARNING: --ssl is deprecated and will be removed in a future version. Use --ssl-mode instead. WARNING: --ssl is deprecated and will be removed in a future version. Use --ssl-mode instead. ERROR 2026 (HY000): SSL connection error: SSL_CTX_set_default_verify_paths failed Variable_name Value Ssl_cipher DHE-RSA-AES256-SHA WARNING: --ssl-verify-server-cert is deprecated and will be removed in a future version. Use --ssl-mode=VERIFY_IDENTITY instead. WARNING: no verification of server certificate will be done. Use --ssl-mode=VERIFY_CA or VERIFY_IDENTITY. WARNING: --ssl-verify-server-cert is deprecated and will be removed in a future version. Use --ssl-mode=VERIFY_IDENTITY instead. ERROR 2026 (HY000): SSL connection error: SSL_CTX_set_default_verify_paths failed # Cleanup DROP USER 'user1'@'%'; DROP TABLE mysql.test;