Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

SSL encryption Expand / Collapse
Posted Tuesday, May 28, 2013 5:18 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Thursday, December 1, 2016 2:28 AM
Points: 271, Visits: 794
Hi Guys,

I am not too familiar with SSL encryption in SQL server. Can anyone please give me the pros and cons about enabling this feature.

I have already done a bit of reading on the topic but would like to hear a couple of opinions about it. Can this feature be enabled for one database on an instance only?

Please advise.

Post #1457265
Posted Wednesday, May 29, 2013 11:43 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Wednesday, October 26, 2016 2:18 PM
Points: 917, Visits: 2,673
If by "SSL Encryption", you mean encryption of TCP connection to the SQL Server instance, then you'll need to generate a certificate using the Fully Qualified Domain Name (FQDN) (I use OpenSSL to generate these, and sign them with a CA that's loaded on the domain controller), load them on the SQL Server's host OS "Computer" store, and then use SQL Server Configuration Manager to select them (and, optionally, Force Encryption to on).

Personally, I like forcing encryption to be on; I feel much better when traffic's encrypted.

You may have a fighting chance at some security recommendations or requirements for your industry.
You can give one more "good" answer on audits.
It's more difficult for attackers on your network to obtain possible sensitive information.

To use packet sniffers to see SQL, you'll also need to load the certificate into the packet sniffer.
In some cases, users should use the FQDN to avoid certificate warnings, "" instead of "server"

For first pass validation:
SELECT encrypt_option, auth_scheme, count(*)
FROM sys.dm_exec_connections
GROUP BY encrypt_option, auth_scheme
ORDER BY encrypt_option, auth_scheme

Better validation involves packet sniffers; at this time I'm not sure how to extract precisely which cipher suite is being used.
Post #1457889
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse