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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.