I can't connect to postgre, it's giving me an SSL error #3087
Replies: 14 comments 1 reply
-
We would need more information to help you. What is the error? |
Beta Was this translation helpful? Give feedback.
-
The error is the following. Thank you for your prompt response 2024-01-05 09:17:33,372 ERROR [main] accuityValidator.db.SQLRepository - Error openning database |
Beta Was this translation helpful? Give feedback.
-
I really can't see any changes that would be relevant. |
Beta Was this translation helpful? Give feedback.
-
What's the exact versions of the JDK and the PostgreSQL server? The line it's failing on is when the TLS handshake happens. Perhaps the client is requesting a TLS protocol version, cipher suite, or some other TLS param that is incompatible with the server. I'm not aware of any changes to this driver that would change across versions though. That's the type of thing that happens when you bump JDK versions. |
Beta Was this translation helpful? Give feedback.
-
good morning, the version we have of the JDK is 1.7.0_80 and the server version is 12.8. The SSL parameters handled by the server are the following: ssl=on |
Beta Was this translation helpful? Give feedback.
-
And nothing else changed beside the driver version ? |
Beta Was this translation helpful? Give feedback.
-
Nothing else has changed and the driver version was changed because it stopped working and I thought that could be it |
Beta Was this translation helpful? Give feedback.
-
it stopped working before the change |
Beta Was this translation helpful? Give feedback.
-
If it stopped working before the change then it's clearly not an issue with this driver. Had you recently upgraded the server? |
Beta Was this translation helpful? Give feedback.
-
They tell me that the server has not been updated |
Beta Was this translation helpful? Give feedback.
-
OK, well something has changed and I don't think it is the driver. |
Beta Was this translation helpful? Give feedback.
-
Good morning, they told me that they did update the TLS version on the server to version 1.2. Could that cause that problem? |
Beta Was this translation helpful? Give feedback.
-
the version we have of the JDK is 1.7.0_80 and the server version is 12.8. The SSL parameters handled by the server are the following: ssl=on |
Beta Was this translation helpful? Give feedback.
-
@AlbalateSuarez Did you enable TLS v1.2 with your JDK 7? It does support this TLS version but it is not enabled by default. |
Beta Was this translation helpful? Give feedback.
-
.I am using Java 7 and the JDBC connector updated to version 42.2.27. It stopped working and I assumed it was a driver issue since I had version 42.2.25 and I proceeded to update it
Beta Was this translation helpful? Give feedback.
All reactions