403Webshell
Server IP : 104.21.38.3  /  Your IP : 172.70.92.185
Web Server : Apache
System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/mysql/src/mysql-test/suite/auth_sec/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/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;

Youez - 2016 - github.com/yon3zu
LinuXploit