Just to clarify:
With JDBC 42.1.4 attempt to connect from dbeaver without SSL results in the following error:
"pg_hba.conf rejected the connection: SSL off"
This is what we expect.
With 42.2.5, the connection succeeds without SSL.