8000 Support SSL without Client Certificates and add SslMode=preferred · Issue #157 · mysql-net/MySqlConnector · GitHub
[go: up one dir, main page]

Skip to content

Support SSL without Client Certificates and add SslMode=preferred #157

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

Closed
caleblloyd opened this issue Jan 11, 2017 · 0 comments
Closed

Comments

@caleblloyd
Copy link
Contributor

When I initially implemented SSL in #88, I erroneously assumed that Client Certificates were required. This is not the case. SSL can be initiated without client certificates.

This clears up my confusion about SslMode=Preferred. That option is meant to connect to servers that have SSL enabled by default with no extra client configuration. MySqlConnector should check the initial handshake packet when SslMode=Preferred and attempt to connect via SSL if the SSL flag is set.

caleblloyd added a commit to caleblloyd/MySqlConnector that referenced this issue Jan 11, 2017
caleblloyd added a commit to caleblloyd/MySqlConnector that referenced this issue Jan 11, 2017
caleblloyd added a commit to caleblloyd/MySqlConnector that referenced this issue Jan 11, 2017
caleblloyd added a commit to caleblloyd/MySqlConnector that referenced this issue Jan 11, 2017
caleblloyd added a commit to caleblloyd/MySqlConnector that referenced this issue Jan 11, 2017
caleblloyd added a commit to caleblloyd/MySqlConnector that referenced this issue Jan 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant
0