title: psql: server does not support SSL, but SSL was required
body: <p>Trying to connect to postgresql server using command prompt. </p>
  
  <p>Command used: </p>
  
  <p><code>psql "sslmode=require host=localhost dbname=test"</code></p>
  
  <p>Error thrown: </p>
  
  <blockquote>
    <p>psql: server does not support SSL, but SSL was required</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/T8WUe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/T8WUe.png" alt="enter image description here"></a></p>
  
  <p>Please help me out on this.
  Thanks.</p>