Hashicorp Boundary using target Databricks Warehouse is throwing error

I am trying to connect Databricks Warehouse via Hashicorp Boundary Session

I have created target on Hashicorp Boundary for Databricks Warehouse Host and started a session to connect to it.

When I try the URL in DataGrip to connect to this data warehouse, I am getting following error:

DBMS: SparkSQL (ver. 3.1.1)
Case sensitivity: plain=mixed, delimited=exact
Driver: DatabricksJDBC (ver., JDBC4.2)
[Databricks][JDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake.

Here is the URL I am trying to connect:


While the original is working:


I have replaced dbc-123abcde-45fg.cloud.databricks.com:443 with

Likely this is because there is a TLS certificate on the warehouse that does not have as the host name. At the moment, there are a couple of options, assuming you cannot change the TLS cert provisioned in databricks:

  • Use a host alias on your system that maps dbc-123abcde-45fg.cloud.databricks.com to so that you can use the original hostname, although this will then interfere if you want to connect directly.
  • See if your client has an option to specify the TLS SNI/host name to use rather than using the one from the connection URL.

In the future an upcoming feature may help here, but that’s all I can say about it for now.