Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

encryption support warning message

I am trying to connect to an on-prem SQL Server DB.  I use CNames (aliases) for my SQL Servers.  So, I am connecting to the desired DB with a server name like cname1.domain.com.  Power BI Desktop is throwing the following warning message:

Encryption Support

The server name provided doesn't match the server name on the SQL Server SSL certificate.  Please contact your administrator or see the link below for more information.  Alternatively, you could change your Connection encryption setting.  Would you like to continue using an unencrypted connection?

 

If I click OK and continue with an unencrypted connection, the connection is successful.  However, in doing so, am I creating a security risk?  I clicked on the link that was provided, but I don't understand what it's telling me.  If this is a security risk, how do I resolve it?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , sql server should be ssl enabled.

refer this for certificate

https://powerbi.microsoft.com/en-us/blog/ssl-security-error-with-data-source/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , sql server should be ssl enabled.

refer this for certificate

https://powerbi.microsoft.com/en-us/blog/ssl-security-error-with-data-source/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

It turns out that, at least in my particular situation, it's more complicated than mere SSL enabling.  My SQL Server data source forces encryption.  So, it's not true that the connection is unencrypted when I agree to the warning message.  It's the same situation as when a web server that uses an SSL certificate with a host name not specified in the certificate.  The connection is still encrypted, but it's the user's choice about whether to continue browsing the site.

 

Because we use CNAMEs, it's just a notification that the connection string name is different than the actual SQL Server name.  To resolve, I simply need to include all of the aliases and CNAMEs as subject alternative names in the certificate for the SQL Server SSL configuration. 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors