Home > database >  A nysql personal records
A nysql personal records

Time:11-07

Suddenly two days no code to run the program error "public key... Is unallow... "
The reason was that the url parameter set useSSL="false", change this parameter to "useSSL=true", the error disappears,
Interestingly, according to online data (the document is actually website), said the mistake was due to "if the user USES the sha256_passwoed authentication, the password must use the TLS protocol to protect in the process of transmission, but if the RSA public key is not available, you can use the server provides the public key",
But I don't know for the TLS protocol and SSL protocol, they were probably the first to find two supporting the use? Or was from the same place? These are not sure, but what is certain is that there is some relationship between the two agreement, or simply exists, otherwise it must be the use of TLS protocol ", but the parameter "useSSL=false" complains, and disappeared into a "useSSL=true" error, the two protocol specific please make your own knowledge,
But it is interesting to note that the original did not understand the parameters, so the start set useSSL="false", there is no error,
Then think of url parameter might be the problem, then made a few tests, according to the order:
1, useSSL=true, error disappear
2, useTLS=true, there is no error (mainly want to know to have useTLS parameters)
3, useTLS=false, still no error (surprise)
4, delete this parameter, no error (expected)
5, useSSL=false, no error (surprised and confused)
In the end, I still leave this parameter is deleted, confusion must have been confused, for the first time set "useSSL=true" successful make an error disappears, but later no matter how to change the parameters (including deleted), or even repeated error "useSSL=false" this kind of circumstance, still didn't appear error, it really makes me confusing,
So, writing, a convenient partners appear the same problem there is a direction, to solve the problem and the reason of this problem, and more detailed knowledge,
Continue to refuel,
  • Related