I have a difficulty in connecting to postgresql database with ssl enabled. I am using jdbc version 42.2.5. I am using self signed ssl certificates. Now my doubt is , are self signed certificates allowed by jdbc 42.2.5 for database connections with ssl.