Secure Database Connection with SSL
A secure database connection can be attempted by modifying the connection string by adding ?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory.
Complete example: jdbc:postgresql://"+Global.dbHostFocus+":"+Global.dbPortFocus+"/"+Global.dbNameFocus+"?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory