I forgot the mailing in my answers to Vladimir.
I'm new to bug reporting and Github, so for the time being i can only file an issue:
https://github.com/pgjdbc/pgjdbc/issues/492
Matthieu.
From:
Jeremy Whiting Date: Subject:
Re: Connection to PgSQL does not use SSL with JDBC driver 9.4
if the parameter is passed through Properties rather than URL