I have a PostgreSQL database on a server. For security reasons, all client access from outside the server is restricted to certificate mode, i.e. the client sends SSL certificates rather than a password. Connecting with pgAdmin works well. Is there a way of creating a Java application that connects to this database with certificates? Any how-to guides, examples, or pointers on how to achieve this?