The error you are encountering, " (14) Unexpected response from server during a HTTP connection: SSL_connect:", when trying to connect to Databricks using the ODBC protocol with the Simba Driver DSN while the corporate VPN is turned on, is likely related to SSL certificate verification issues
Here are some steps you can take to resolve this issue:
-
Check SSL Certificate Configuration:
- Ensure that the SSL certificates are correctly configured. You might need to disable SSL certificate verification if you are using self-signed certificates or if there are issues with the certificate chain.
- You can do this by setting the
AllowSelfSignedServerCert
option to 1
and the AllowHostNameCNMismatch
option to 1
in your DSN configuration. This can be done in the simba.sparkodbc.ini
file or through the ODBC Data Source Administrator.
-
Disable Certificate Revocation Check:
- If the issue persists, you can try disabling the certificate revocation check by setting the
CheckCertRevocation
option to 0
.
-
Use System Trust Store:
- Ensure that the
UseSystemTrustStore
option is set to 1
if you want to use the system's trust store for SSL verification.