Connect to shared database SSL

(chibber2018) #1

I’m using JabRef 4.2 (Windows 10 x64, Java 1.8.0_171) to try to connect to a cloud PostgreSQL server which has sslmode set to require. When I try to connect using “Connect to shared database” I get:

Connection Error: no pg_hba.conf entry for host "$myIP", user "$myUsername", database "$myDatabase", SSL off

My allowed addresses in the cloud console (and I assume therefore in pg_hba.conf) are and my IP address.

Do you know if the jdbc driver JabRef uses has been compiled with SSL support? And if not, can I use a different driver? Also, is there anywhere in JabRef/Java options I can set something like sslmode=require to connect without checking the certificate (see

Let me know if any more details of my setup or exactly what I’m trying to do would help.