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

Mysql: default to SSL without verification #277

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tylercunnion
Copy link

Attempts to silence this warning:
WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

The actual behavior should not change, but specifying it explicitly in the connection string should satisfy the warning. Additionally, future development could make it possible to set a trust store and actually verify the server certs.

@tylercunnion tylercunnion added the change/standard Trivial / minor changes that are low-impact, low risk label Jan 23, 2022
@tylercunnion tylercunnion marked this pull request as ready for review January 24, 2022 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change/standard Trivial / minor changes that are low-impact, low risk
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant