What does SQL force encryption do

If I set "Force Encryption" on a SQL server (with a certificate), does that mean all connections to SQL server must have a secure connection, or can any user still connect to SQL server without using SSL.

Also, I see the encryption enable flag on a database level. Is this only for data encryption and not a SSL connection to the database, or does that need to be set for the database to use SSL.

Thanks.
barnescoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
it only affects communication between the client and the server. force encryption at server level means all clients must  have a secure connection.

You can force encryption at the client level instead.
https://blogs.msdn.microsoft.com/sql_protocols/2009/10/19/selectively-using-secure-connection-to-sql-server/

Also, I see the encryption enable flag on a database level. Is this only for data encryption and not a SSL connection to the database can be database or table level does not use SSL

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
btanExec ConsultantCommented:
Agree with David. All about encrypting channel between client and server only. Data in transit encrypted but not related to any encryption of data at rest.

You can enable the Force Protocol Encryption option on the server, or on the client. Enable Force Protocol Encryption on the server by using the Server Network Utility. If you enabled on the server, you must install a certificate on the server.

You can use Client Network Utility and enable Force Protocol Encryption on the client, you must have a certificate on the server and the client must have the Trusted Root Authority updated to trust the server certificate.

If it is remote point to point connection you may want to consider IPSEC for layer encryption.
barnescoAuthor Commented:
Thank you. That helped.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SQL

From novice to tech pro — start learning today.