Bug #75670 | Connection fails with "Public Key Retrieval is not allowed" for native auth | ||
---|---|---|---|
Submitted: | 28 Jan 2015 21:06 | Modified: | 20 Aug 2015 19:57 |
Reporter: | Jess Balint | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 5.1 | OS: | Any |
Assigned to: | Filipe Silva | CPU Architecture: | Any |
Tags: | auth, pluggable auth, SHA256 |
[28 Jan 2015 21:06]
Jess Balint
[20 Aug 2015 19:57]
Daniel So
Added the following entry to the Connector/J 6.0 changelog: "If the MySQL server's default authentication method was SHA256 but neither one of the Connector/J connection properties allowPublicKeyRetrieval and serverRSAPublicKeyFile was set, the authentication failed with a TransientConnectionException, complaining that the public key could not be retrieved. With this fix, authentication continues in the situation, allowing other enabled authentication methods to be tried."
[20 Aug 2015 20:32]
Daniel So
CORRECTION: The changelog entry mentioned was actually added for Connector/J 5.1.37.