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.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.