Giter VIP home page Giter VIP logo

mz0 / mysql-5.7-ubuntu Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 84.55 MB

project moved https://github.com/mz0/u57

Home Page: https://github.com/mz0/u57

License: Other

Shell 0.34% CMake 0.44% C++ 81.17% C 15.99% Perl 0.66% M4 0.01% Batchfile 0.01% Roff 0.08% Makefile 0.08% Vim Script 0.01% Emacs Lisp 0.01% Java 0.01% Python 0.01% HTML 0.02% Objective-C 0.55% Pascal 0.15% PHP 0.43% Assembly 0.03% Pawn 0.01% PLSQL 0.01%

mysql-5.7-ubuntu's People

Contributors

basak avatar ltangvald avatar mz0 avatar simondeziel avatar

Watchers

 avatar  avatar

mysql-5.7-ubuntu's Issues

MySQL TLS deprecation test fails on 20.04

MySQL 5.7.35 deprecates TLSv1 and TLSv1.1: mysql should warn client, and mysqld should log deprecated connections.

t/ssl_deprecated_tls_versions.test was added to check these warnings and server log, the warnings test passes, but log test fails completely on default 20.04, since Ubuntu denies that. See e.g. 1864689

Following that bug advice I've changed /etc/ssl/openssl.cnf

diff -c /etc/ssl/openssl.cnf.0 /etc/ssl/openssl.cnf
*** /etc/ssl/openssl.cnf.0	2020-04-20 14:53:50.000000000 +0300
--- /etc/ssl/openssl.cnf	2021-07-29 09:43:09.658384062 +0300
***************
*** 1,3 ****
--- 1,4 ----
+ openssl_conf = mysqltest_conf
  #
  # OpenSSL example configuration file.
  # This is mostly being used for generation of certificate requests.
***************
*** 348,350 ****
--- 349,360 ----
  				# (optional, default: no)
  ess_cert_id_alg		= sha1	# algorithm to compute certificate
  				# identifier (optional, default: sha1)
+ ## temporary addition ##
+ [ mysqltest_conf ]
+ ssl_conf = ssl_sect
+ 
+ [ ssl_sect ]
+ system_default = system_default_sect
+ 
+ [ system_default_sect ]
+ CipherString = DEFAULT:@SECLEVEL=1

and re-checked

builddir/mysql-test$ ./mysql-test-run.pl --do-test=ssl_deprecated_tls_versions
Logging: ./mysql-test-run.pl  --do-test=ssl_deprecated_tls_versions
MySQL Version 5.7.35
Checking supported features...
 - SSL connections supported
Using suites: main,sys_vars,binlog,federated,gis,rpl,innodb,innodb_gis,innodb_fts,innodb_zip,innodb_undo,perfschema,funcs_1,opt_trace,parts,auth_sec,query_rewrite_plugins,gcol,sysschema,test_service_sql_api,json,connection_control
Collecting tests...
Checking leftover processes...
Removing old var directory...
Creating var directory '/home/mz0/m57/mysql-5.7/builddir/mysql-test/var'...
Installing system database...
Using parallel: 1

==============================================================================

TEST                                      RESULT   TIME (ms) or COMMENT
--------------------------------------------------------------------------

worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
[ 50%] main.ssl_deprecated_tls_versions         [ pass ]     45
[100%] shutdown_report                          [ pass ]       
--------------------------------------------------------------------------
The servers were restarted 0 times
Spent 0.045 of 4 seconds executing testcases

Completed: All 2 tests were successful.

Consider disabling server log check in this test as a temporary workaround.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.