Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS doesn't work as expected #1687

Closed
weekface opened this issue Feb 13, 2020 · 0 comments · Fixed by #1693
Closed

TLS doesn't work as expected #1687

weekface opened this issue Feb 13, 2020 · 0 comments · Fixed by #1693
Labels
type/bug Something isn't working

Comments

@weekface
Copy link
Contributor

weekface commented Feb 13, 2020

Bug Report

What version of Kubernetes are you using?

v1.16.4

What version of TiDB Operator are you using?

release-1.1

TiDB v3.0.8

What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?

What's the status of the TiDB cluster pods?

What did you do?

I created the TiDB Cluster with:

enableTLSCluster: false
enableTLSClient: true

What did you expect to see?

tidb-server started with SSL

What did you see instead?

tidb-server started without SSL:

MySQL [(none)]> SHOW STATUS LIKE "%Ssl%";
+-----------------+-------+
| Variable_name   | Value |
+-----------------+-------+
| Ssl_verify_mode | 0     |
| Ssl_version     |       |
| Ssl_cipher      |       |
| Ssl_cipher_list |       |
+-----------------+-------+
4 rows in set (0.058 sec)

MySQL [(none)]> \s
--------------
mysql  Ver 15.1 Distrib 10.3.22-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

Connection id:		1
Current database:
Current user:		[email protected]
SSL:			Not in use
Current pager:		stdout
Using outfile:		''
Using delimiter:	;
Server:			MySQL
Server version:		5.7.25-TiDB-v3.0.8 MySQL Community Server (Apache License 2.0)
Protocol version:	10
Connection:		10.96.7.9 via TCP/IP
Server characterset:	utf8mb4
Db     characterset:	utf8mb4
Client characterset:	utf8mb4
Conn.  characterset:	utf8mb4
TCP port:		4000
--------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant