-
Notifications
You must be signed in to change notification settings - Fork 976
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
Generated CA certificate rejected by MySQL client with VERIFY_CA #3412
Comments
…3 Basic Constraints' as MySQL self generated ones
Hi @skeggse, this was indeed changed by mistake by me in the PR you mention. There is no reason for which we want the CA certificate to hold Thank you. |
Closes #3412: Generated CA certificate rejected by MySQL client with VERIFY_CA
I imagine it might be a bit before a 2.2.0 image shows up on Docker hub. Could you link me to the Dockerfile used for the |
I've been playing around with using the prebuilt certificates, and suspect that I either have a grave misunderstanding of public key crypto or that the CA certificate should have
CA=TRUE
instead ofCA=FALSE
.On some systems,
mysql --ssl-mode=VERIFY_CA
fails withERROR 2026 (HY000): SSL connection error: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
. While diagnosing this problem, I tried replacing theFALSE
with aTRUE
in theproxysql
binary from theproxysql/proxysql:2.1.0
docker container, and it resolved the error I was seeing. It looks like this was changed in #2627, and I'm wondering what the cases where you wantCA:FALSE
are.2.1.0-544-g17a4b4a7
Linux 5c72934c8310 5.10.25-linuxkit #1 SMP x86_64 GNU/Linux
)mysql Ver 8.0.23 for osx10.15 on x86_64 (Homebrew)
(rejected CA)mysql Ver 14.14 Distrib 5.7.32, for osx10.15 (x86_64) using EditLine wrapper
(rejected CA)mysql Ver 14.14 Distrib 5.7.33, for Linux (x86_64) using EditLine wrapper
(accepted CA)Steps to reproduce
proxysql/proxysql:2.1.0
containerSET mysql-have_ssl='true';LOAD MYSQL VARIABLES TO RUNTIME;
admin commandsmysql --ssl-mode=VERIFY_CA --ssl-ca=.../path/to/proxysql-ca.pem -h <host> -P 6032 -uadmin -padmin
/var/lib/proxysql/proxysql.log
The text was updated successfully, but these errors were encountered: