<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SSL connection java.sql.SQLException with Redshift in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/ssl-connection-java-sql-sqlexception-with-redshift/m-p/30527#M22145</link>
    <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I am having the same issue. That did not work for me I am still getting the same error. Did you get your issue resolved? &lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2016 17:04:10 GMT</pubDate>
    <dc:creator>mbphill</dc:creator>
    <dc:date>2016-08-25T17:04:10Z</dc:date>
    <item>
      <title>SSL connection java.sql.SQLException with Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/ssl-connection-java-sql-sqlexception-with-redshift/m-p/30525#M22143</link>
      <description />
      <pubDate>Sat, 09 May 2015 21:35:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ssl-connection-java-sql-sqlexception-with-redshift/m-p/30525#M22143</guid>
      <dc:creator>cfregly</dc:creator>
      <dc:date>2015-05-09T21:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection java.sql.SQLException with Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/ssl-connection-java-sql-sqlexception-with-redshift/m-p/30526#M22144</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see the following error without SSL:&lt;/P&gt;&lt;P&gt;java.sql.SQLException: [Amazon](500150) Error setting/closing connection: no pg_hba.conf entry for host "x.x.x.x", user "user", database "database", SSL off.&lt;/P&gt;&lt;P&gt;then the following error with SSL enabled:&lt;/P&gt;&lt;P&gt;java.sql.SQLException: [Amazon](500150) Error setting/closing connection: General SSLEngine problem.&lt;/P&gt;&lt;P&gt;You can try appending &lt;PRE&gt;&lt;CODE&gt;sslfactory=org.postgresql.ssl.NonValidatingFactory&lt;/CODE&gt;&lt;/PRE&gt; to the connection URL to fix the problem.&lt;/P&gt;</description>
      <pubDate>Sat, 09 May 2015 21:38:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ssl-connection-java-sql-sqlexception-with-redshift/m-p/30526#M22144</guid>
      <dc:creator>cfregly</dc:creator>
      <dc:date>2015-05-09T21:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection java.sql.SQLException with Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/ssl-connection-java-sql-sqlexception-with-redshift/m-p/30527#M22145</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I am having the same issue. That did not work for me I am still getting the same error. Did you get your issue resolved? &lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 17:04:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ssl-connection-java-sql-sqlexception-with-redshift/m-p/30527#M22145</guid>
      <dc:creator>mbphill</dc:creator>
      <dc:date>2016-08-25T17:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection java.sql.SQLException with Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/ssl-connection-java-sql-sqlexception-with-redshift/m-p/30528#M22146</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I also have the same issue. The suggested solution did not work. Also as a side note, everything had been working until last Friday... &lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 15:21:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ssl-connection-java-sql-sqlexception-with-redshift/m-p/30528#M22146</guid>
      <dc:creator>TianziCai</dc:creator>
      <dc:date>2017-06-14T15:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: SSL connection java.sql.SQLException with Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/ssl-connection-java-sql-sqlexception-with-redshift/m-p/30529#M22147</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;sample = (spark.read
          .format("com.databricks.spark.redshift")
          .option("url", jdbcUrl)
          .option("dbtable", "xx.xxx") # schema, table
          .option("forward_spark_s3_credentials", True)
          .option("tempdir", tempDir)
          .option("autoenablessl", "false") # disable SSL. 
          .load())&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The above suggested solution didn't work for me, but disabling SSL did. I wish there was a better solution. &lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 21:09:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ssl-connection-java-sql-sqlexception-with-redshift/m-p/30529#M22147</guid>
      <dc:creator>TianziCai</dc:creator>
      <dc:date>2017-06-14T21:09:16Z</dc:date>
    </item>
  </channel>
</rss>

