Redshift][ODBC Driver][Server]SSL error: certificate verify failed

Siarhei Melnikau 0 Reputation points
2025-11-26T13:23:45.0233333+00:00

ERROR [HY000] [Redshift][ODBC Driver][Server]SSL error: certificate verify failed ,Source=Microsoft.DataTransfer.Connectors.Odbc.OdbcConnectorV2,''Type=Microsoft.DataTransfer.Connectors.Odbc.Interop.OdbcException,Message=ERROR [HY000] [Redshift][ODBC Driver][Server]SSL error: certificate verify failed

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
{count} votes

2 answers

Sort by: Most helpful
  1. Pilladi Padma Sai Manisha 495 Reputation points Microsoft External Staff Moderator
    2025-11-26T13:56:58.6133333+00:00

    Hi Siarhei Melnikau,

    Thank you for reaching out to Microsoft QA!

    It sounds like you're running into an SSL certificate verification issue with your Redshift connection through the ODBC driver. Here’s what you can try to resolve the "SSL error: certificate verify failed" message:
    Driver Setup: Make sure your ODBC driver configuration is correct. You may need to create or update the microsoft.sparkodbc.ini file. Run Notepad or File Explorer as an administrator and save this file in the folder:

    text

    C:\Program Files\Microsoft Power BI Desktop\bin\ODBC Drivers\Simba Spark ODBC Driver\
    

    Add the following lines to disable certificate revocation checks:

    text
    [Driver]
    CheckCertRevocation=0
    

    Firewall and Network Settings: If you’re connecting through a VNet Gateway, ensure that your route tables allow outbound traffic for the subnet. You should permit:

    1. Service Tags: AzureFrontDoor.FirstParty and OneDsCollector
    2. Hostname or IP: crl3.digicert.com or 192.229.221.95 This traffic is necessary for the client to access certificate revocation servers.

    JDBC Connection Tweaks: If your setup includes JDBC connections, configuring the connection string with trustServerCertificate=true can help by allowing connections without strict certificate validation. Use this only if your security policies permit.

    Driver Updates: Always verify that you are using the latest version of the ODBC driver. Updated drivers often fix SSL/TLS issues and improve compatibility with the latest security protocols.

    Additional Resources:
    Troubleshooting Power BI and Azure Databricks connection issues

    Power BI Proxy and SSL Configuration

    Common SSL/TLS errors and solutions

    By following these steps, you can mitigate common SSL certificate verification issues while balancing security considerations. If you need help with any specific step, feel free to ask.

    This approach ensures your connection is properly configured and optimizes secure communication with your Spark server.

     Hope this helps you get things sorted out! If the issue persists, Please let Us know.
    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.
    0 comments No comments

  2. Siarhei Melnikau 0 Reputation points
    2025-11-26T13:31:45.6833333+00:00

    How I can resolve issue

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.