Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi Power Bi community
I have a virtual machine that I try to connect to an SQL database and I get this mistake.
Details: "Microsoft SQL: A connection was successfully esablished with the server, but then an error occurred during the login process. (Provider: SSL Provider, error: 0 - The certificate chain was issed by an authority that is not trusted.)"
I just don't know how I get my virtual mashine to trust the SQL database. Can anyone help me?
All help will be greatly appriciated.
Solved! Go to Solution.
Hi @ThomasWeppler ,
The error message you’re seeing is related to the SSL certificate of the SQL Server.
It seems that the certificate chain was issued by an authority that is not trusted.
If you have in the connection string, you can either set that to off (not recommended), or add to the connection stringEncrypt=TrueTrustServerCertificate=True. This will tell the connection to trust the certificate presented by SQL Server without further verification.
Original post:
You may also try to install a Trusted Certificate, install a CA-signed certificate in your SQL VM’s trusted root store. SQL Server will create a self-signed certificate if you don’t install one for it to use, but it won’t be trusted by the caller since it’s not CA-signed.
The certificate chain was issued by an authority that isn't trusted - SQL Server | Microsoft Learn
Further more,you can configure SQL Server to use the certificates. Depending on the version of SQL Server Configuration Manager you have access to on the SQL Server computer, use one of the following procedures to install and configure the SQL Server instance.
Configure SQL Server Database Engine for encryption - SQL Server | Microsoft Learn
Best regards.
Community Support Team_Caitlyn
Hi @ThomasWeppler ,
The error message you’re seeing is related to the SSL certificate of the SQL Server.
It seems that the certificate chain was issued by an authority that is not trusted.
If you have in the connection string, you can either set that to off (not recommended), or add to the connection stringEncrypt=TrueTrustServerCertificate=True. This will tell the connection to trust the certificate presented by SQL Server without further verification.
Original post:
You may also try to install a Trusted Certificate, install a CA-signed certificate in your SQL VM’s trusted root store. SQL Server will create a self-signed certificate if you don’t install one for it to use, but it won’t be trusted by the caller since it’s not CA-signed.
The certificate chain was issued by an authority that isn't trusted - SQL Server | Microsoft Learn
Further more,you can configure SQL Server to use the certificates. Depending on the version of SQL Server Configuration Manager you have access to on the SQL Server computer, use one of the following procedures to install and configure the SQL Server instance.
Configure SQL Server Database Engine for encryption - SQL Server | Microsoft Learn
Best regards.
Community Support Team_Caitlyn
I found a solution with the help of your comment and chat gpt.
Thanks for the answer.
How do I add to the connection stringEncrypt=TrueTrustServerCertificate=True.
Is encryption turned on? Maybe try turning it off and see if it works then
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 37 | |
| 29 | |
| 26 | |
| 19 | |
| 19 |