PostgreSQL 12 - Received fatal alert: handshake_failure - SSLHandshakeException

Hi Anton,

I have problem in traccar 4.8, I am migrating the database from MariaDB to PostgreSQL and I am getting this error on startup in the log.

Exception during pool initialization. - Received fatal alert: handshake_failure - SSLHandshakeException (... < DataManager:139 < *:89 < Context:292 < Main:132 < ...)

Config:

    <entry key='database.driver'>org.postgresql.Driver</entry>
    <entry key='database.url'>jdbc:postgresql://localhost:5432/traccar?currentSchema=gps</entry>
    <entry key='database.user'>postgres</entry>
    <entry key='database.password'>******</entry>
Anton Tananaev2 years ago

First of all, please don't address questions directly to me.

As for the issue, try using different Java version.