<?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 Disable ssl for federated connection on Amazon Redshift in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101669#M40768</link>
    <description>&lt;P&gt;Here is a doc how to set up connection and foreign catalog, but there is no any mentions how to disable ssl for the connection.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/query-federation/redshift.html" target="_blank"&gt;https://docs.databricks.com/en/query-federation/redshift.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When I set up connection and foreign catalog I get this error, when test connectivity to my redshift host:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;summary: [CANNOT_ESTABLISH_CONNECTION] Cannot establish connection to remote REDSHIFT database. Please check connection information and credentials e.g. host, port, user, password and database options. ** If you believe the information is correct, please check your workspace's network setup and ensure it does not have outbound restrictions to the host. Please also check that the host does not block inbound connections from the network where the workspace's Spark clusters are deployed. ** Detailed error message: The hostname my.host.com could not be verified by hostnameverifier RedshiftjdbcHostnameVerifier.. SQLSTATE: 08001, data: {"type":"baseError","stackFrames":["org.apache.spark.SparkIllegalArgumentException: [CANNOT_ESTABLISH_CONNECTION] Cannot establish connection to remote REDSHIFT database. Please check connection information and credentials e.g. host, port, user, password and database options. ** If you believe the information is correct, please check your workspace's network setup and ensure it does not have outbound restrictions to the host. Please also check that the host does not block inbound connections from the network where the workspace's Spark clusters are deployed. ** Detailed error message: The hostname my.host.com could not be verified by hostnameverifier RedshiftjdbcHostnameVerifier.. SQLSTATE: 08001\n\tat org.apache.spark.sql.errors.QueryExecutionErrors$.cannotEstablishConnectionError(QueryExecutionErrors.scala:1222)\n\tat com.databricks.spark.redshift.RedshiftTestConnection$.testCatalogConnection(RedshiftTestConnection.scala:50)\n\tat com.databricks.sql.managedcatalog.command.QueryFederationCommand$.testCatalogConnection(queryFederationCommandsExec.scala:147)\n\tat com.databricks.sql.managedcatalog.command.TestForeignCatalogConnectionCommand.run(queryFederationCommandsExec.scala:288)\n\tat org.apache.spark.sql.execution.command.ExecutedCommandExec.$anonfun$sideEffectResult$2(commands.scala:84)\n\tat org.apache.spark.sql.execution.SparkPlan.runCommandWithAetherOff(SparkPlan.scala:180&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;** Detailed error message: The hostname my.host.com could not be verified by hostnameverifier RedshiftjdbcHostnameVerifier.. SQLSTATE: 08001,&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;When I try to connect to this host from my notebook and the same cluster, it works, but in the options I set:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.option("autoenablessl", "false")&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2024 22:49:06 GMT</pubDate>
    <dc:creator>drag7ter</dc:creator>
    <dc:date>2024-12-10T22:49:06Z</dc:date>
    <item>
      <title>Disable ssl for federated connection on Amazon Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101669#M40768</link>
      <description>&lt;P&gt;Here is a doc how to set up connection and foreign catalog, but there is no any mentions how to disable ssl for the connection.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/query-federation/redshift.html" target="_blank"&gt;https://docs.databricks.com/en/query-federation/redshift.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When I set up connection and foreign catalog I get this error, when test connectivity to my redshift host:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;summary: [CANNOT_ESTABLISH_CONNECTION] Cannot establish connection to remote REDSHIFT database. Please check connection information and credentials e.g. host, port, user, password and database options. ** If you believe the information is correct, please check your workspace's network setup and ensure it does not have outbound restrictions to the host. Please also check that the host does not block inbound connections from the network where the workspace's Spark clusters are deployed. ** Detailed error message: The hostname my.host.com could not be verified by hostnameverifier RedshiftjdbcHostnameVerifier.. SQLSTATE: 08001, data: {"type":"baseError","stackFrames":["org.apache.spark.SparkIllegalArgumentException: [CANNOT_ESTABLISH_CONNECTION] Cannot establish connection to remote REDSHIFT database. Please check connection information and credentials e.g. host, port, user, password and database options. ** If you believe the information is correct, please check your workspace's network setup and ensure it does not have outbound restrictions to the host. Please also check that the host does not block inbound connections from the network where the workspace's Spark clusters are deployed. ** Detailed error message: The hostname my.host.com could not be verified by hostnameverifier RedshiftjdbcHostnameVerifier.. SQLSTATE: 08001\n\tat org.apache.spark.sql.errors.QueryExecutionErrors$.cannotEstablishConnectionError(QueryExecutionErrors.scala:1222)\n\tat com.databricks.spark.redshift.RedshiftTestConnection$.testCatalogConnection(RedshiftTestConnection.scala:50)\n\tat com.databricks.sql.managedcatalog.command.QueryFederationCommand$.testCatalogConnection(queryFederationCommandsExec.scala:147)\n\tat com.databricks.sql.managedcatalog.command.TestForeignCatalogConnectionCommand.run(queryFederationCommandsExec.scala:288)\n\tat org.apache.spark.sql.execution.command.ExecutedCommandExec.$anonfun$sideEffectResult$2(commands.scala:84)\n\tat org.apache.spark.sql.execution.SparkPlan.runCommandWithAetherOff(SparkPlan.scala:180&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;** Detailed error message: The hostname my.host.com could not be verified by hostnameverifier RedshiftjdbcHostnameVerifier.. SQLSTATE: 08001,&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;When I try to connect to this host from my notebook and the same cluster, it works, but in the options I set:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.option("autoenablessl", "false")&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 22:49:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101669#M40768</guid>
      <dc:creator>drag7ter</dc:creator>
      <dc:date>2024-12-10T22:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ssl for federated connection on Amazon Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101673#M40770</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/103503"&gt;@drag7ter&lt;/a&gt;,&lt;/P&gt;
&lt;P class="p1"&gt;The Databricks Query Federation feature for Redshift does not explicitly allow for disabling SSL directly in the UI or configuration options for the catalog. However, you can attempt to pass the JDBC connection parameters through the catalog creation.&lt;/P&gt;
&lt;P class="p1"&gt;When creating or modifying your foreign catalog, include the following in the catalog’s connection options:&lt;/P&gt;
&lt;P class="p1"&gt;CREATE FOREIGN CATALOG redshift_catalog&lt;BR /&gt;USING com.databricks.spark.redshift&lt;BR /&gt;OPTIONS (&lt;BR /&gt;dbtable '&amp;lt;table&amp;gt;',&lt;BR /&gt;forward_spark_s3_credentials 'true',&lt;BR /&gt;aws_iam_role 'arn:aws:iam::&amp;lt;your-role&amp;gt;',&lt;BR /&gt;url 'jdbc:redshift://&amp;lt;hostname&amp;gt;:5439/&amp;lt;database&amp;gt;?ssl=false&amp;amp;autoEnableSSL=false'&lt;BR /&gt;);&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 00:36:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101673#M40770</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2024-12-11T00:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ssl for federated connection on Amazon Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101728#M40791</link>
      <description>&lt;P&gt;That doesn't work in Databricks, see the syntax of SQL for creating foreign catalog:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[PARSE_SYNTAX_ERROR] Syntax error at or near 'com': &lt;STRONG&gt;missing CONNECTION.&lt;/STRONG&gt; SQLSTATE: 42601 line 2, pos 6 == SQL == CREATE FOREIGN CATALOG redshift_catalog USING com.databricks.spark.redshift&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 10:06:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101728#M40791</guid>
      <dc:creator>drag7ter</dc:creator>
      <dc:date>2024-12-11T10:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ssl for federated connection on Amazon Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101766#M40819</link>
      <description>&lt;P&gt;It's missing connection statement, could you please try:&lt;/P&gt;
&lt;P class="p1"&gt;CREATE FOREIGN CATALOG redshift_catalog&lt;/P&gt;
&lt;P class="p1"&gt;USING CONNECTION com.databricks.spark.redshift&lt;/P&gt;
&lt;P class="p1"&gt;OPTIONS (&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;dbtable '&amp;lt;table&amp;gt;',&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;forward_spark_s3_credentials 'true',&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;aws_iam_role 'arn:aws:iam::&amp;lt;your-role&amp;gt;',&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;url 'jdbc:redshift://&amp;lt;hostname&amp;gt;:5439/&amp;lt;database&amp;gt;?ssl=false&amp;amp;autoEnableSSL=false'&lt;/P&gt;
&lt;P class="p1"&gt;);&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 13:32:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101766#M40819</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2024-12-11T13:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ssl for federated connection on Amazon Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101961#M40916</link>
      <description>&lt;P&gt;Doesn't work also, wrong sql syntax. There is no option in databricks create such catalog using such connection&amp;nbsp;&lt;SPAN&gt;com.databricks.spark.redshift&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[PARSE_SYNTAX_ERROR] Syntax error at or near '.'.&lt;BR /&gt;SQLSTATE: 42601 line 2, pos 20&lt;BR /&gt;== SQL ==&lt;BR /&gt;CREATE FOREIGN CATALOG redshift_catalog&lt;BR /&gt;USING CONNECTION com.databricks.spark.redshift&lt;BR /&gt;--------------------^^^&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 17:37:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101961#M40916</guid>
      <dc:creator>drag7ter</dc:creator>
      <dc:date>2024-12-12T17:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ssl for federated connection on Amazon Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101962#M40917</link>
      <description>&lt;P&gt;My question still the same, how I can create forieng catalog if I get this error:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;** Detailed error message: The hostname my.host.com could not be verified by hostnameverifier RedshiftjdbcHostnameVerifier.. SQLSTATE: 08001,&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;What should I do that databricks verifies my remote Redshift HOST?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 17:39:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/101962#M40917</guid>
      <dc:creator>drag7ter</dc:creator>
      <dc:date>2024-12-12T17:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ssl for federated connection on Amazon Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/121990#M46613</link>
      <description>&lt;P&gt;Hi, was there ever a resolution to this issue? We're having the exact same problem, specifically with Redshift as well. The database is accessed through a bastion host that forwards traffic to the db instance, and databricks throws this error every time. Connecting to the host via other clients works fine using the exact same config.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 13:37:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/121990#M46613</guid>
      <dc:creator>system_is_down</dc:creator>
      <dc:date>2025-06-17T13:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ssl for federated connection on Amazon Redshift</title>
      <link>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/125343#M47427</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/106294"&gt;@Alberto_Umana&lt;/a&gt;&amp;nbsp;just checking in on this again. Anything new on this? I've tried creating catalogs and connections via UI, REST API, and CLI as well but none have worked to disable SSL. The documentation references this ability here:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/query-federation/redshift#create-a-connection" target="_blank"&gt;https://docs.databricks.com/aws/en/query-federation/redshift#create-a-connection&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It is described in step 8. (Optional)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Disable SSL hostname verification&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 17:57:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disable-ssl-for-federated-connection-on-amazon-redshift/m-p/125343#M47427</guid>
      <dc:creator>system_is_down</dc:creator>
      <dc:date>2025-07-15T17:57:09Z</dc:date>
    </item>
  </channel>
</rss>

