title: Where to put ssl certificates when trying to connect to a remote database using psycopg2?
body: <p>I have created a Google PostgreSQL instance and I'm trying to operate it from a remote webserver, I have whitelisted the IP and turned on SSL-only mode. I created client certificates, but I'm clueless as to where to put them or how to reference them. I can't find anything about it online.</p>
  
  <p>Any help would be appreciated</p>
  
  <p>My psycopg2 connect statement looks like this and gives me an error saying it needs client certificates:</p>
  
  <pre><code>conn = psycopg2.connect(
              user="postgres",
              password="password",
              host="{IP_ADDRESS}",
              port="5432",
              database="testdb",
              sslmode="require",
  }
  </code></pre>