-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
pdns-mysql:4.9-alpine - SSL is required #147
Comments
Hello, thanks for the bug report. You can now set The mysql command in linux distros is now just a symlink to mariadb. Reason for this issue is that alpine base image updated mariadb client program to 11.x, which requires ssl on by default. This works fine when paired with mariadb 11.x server, however 10.x doesn't have ssl enabled by default, so it has to be disabled on client or enabled on server explicitly. |
Also ran into a similar issue against MySQL 8.4:
Adding |
Hi @silverwind, if your mysql server is on a different host, you can mount the CA of self-signed mysql server cert in the pdns-mysql container and use If the mysql server is on the same host, it's better to I've pinned this issue, but I'm hesitant to make |
Thanks. I'll be using |
@silverwind I want to add here that I ran into this problem running pdns-mysql with mariadb 10.6. But after I upgraded mariadb to the same version defined in the docker-compose-file here, Ref: https://github.com/pschiffe/docker-pdns/blob/master/docker-compose-mysql.yml |
I don't think our issues are related, but mine started to appear today with |
Hi, my pdns-mysql stopped working today after a casual update. The docker logs show
Im using mariadb:11.2.4 (not updated) Adding MYSQL_CLIENT_EXTRA_PARAMS='--skip-ssl' to my pdns.env did not help. Pls assist |
Which pdns-mysql image are you using? Can you provide you tag and maybe hash as well? |
pschiffe/pdns-mysql:alpine@sha256:62c497c61a6cf67866e96b7b2863162fc6ad627f9c3992d851623fb68bbc8ddb |
Could you exec into running container and verify with |
I can confirm that when using However, providing Anyway, I've added bash debug output with |
LOG OUTPUT:
after seeing the multitude of quotation marks in the logs I changed in my .env file and it works again now |
I pulled the latest pdns-mysql:4.9-alpine image that changes from the mysql- to the mariadb-binary, but now I get the following error when powerdns is connecting to my MariaDB 10.11 instance.
Can't find any client-side settings for TLS.
Any suggestion on how to solve this?
I would prefer to be able to set
--skip-ssl
on the mariadb-client side.The text was updated successfully, but these errors were encountered: