title: org.postgresql.util.PSQLException: SSL error: Received fatal alert: handshake_failure while writing from Azure Databricks to Azure Postgres Citus
body: <p>I am trying to write pyspark dataframe to Azure Postgres Citus (Hyperscale).
  I am using latest Postgres JDBC Driver and I tried writing on Databricks Runtime 7,6,5.</p>
  <p><code>df.write.format(&quot;jdbc&quot;).option(&quot;url&quot;,&quot;jdbc:postgresql://&lt;HOST&gt;:5432/citus?user=citus&amp;password=&lt;PWD&gt;&amp;sslmode=require&quot; ).option(&quot;dbTable&quot;, table_name).mode(method).save()</code></p>
  <p>This is what I get after running the above command
  <code>org.postgresql.util.PSQLException: SSL error: Received fatal alert: handshake_failure</code></p>
  <p>I have already tried different parameters in the URL and unders the option as well, but no luck so far.
  However, I am able to connect to this instance using my local machine and on databricks driver/notebook using psycopg2
  Both the Azure Postgres Citus and Databricks are in the same region and Azure Postgres Citus is public.</p>