To configure the non-clustered server to accept encrypted connections
-
Ensure the SQL Service Account (Ex: SVC01) has been enabled admin access on the SQL server machine.
-
Login to SQL server using SVC01 account.
-
In SQL Server Configuration Manager, expand SQL Server Network Configuration, right-click Protocols for <server instance>, and then selectProperties.
-
In the Protocols for <instance name> Properties dialog box, on the Certificate tab, select the desired certificate from the drop down for the Certificate box, and then click OK.
-
On the Flags tab, in the ForceEncryption box, select Yes, and then click OK to close the dialog box.
-
Restart the SQL Server service.
To configure the Clustered server to accept encrypted connections
-
Ensure the SVC01 account has been enabled admin access on the SQL server machine.
-
Login to SQL server using SVC01 account.
-
In SQL Server Configuration Manager, expand SQL Server Network Configuration, right-click Protocols for <server instance>, and then selectProperties.
-
On the Flags tab, in the ForceEncryption box, select Yes, and then click OK to close the dialog box.
-
Since this is a clustered environment the certificate installed on the previous step will not be visible on the Certificate tab. Hence the certificate needs to be associated through a registry entry update as described in the following section.
-
Click OK.
-
Export the certificate thumbprint by running this command on elevated command window.
certutil –store –user my > cert.txt
-
Open the cert.txt file and find the property Cert Hash(sha1): corresponding to the cluster certificate.
-
Copy the hex value to Notepad and remove the spaces.
-
Start Regedit and copy the hex value to this key: HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\<YourSQLServerInstance>\MSSQLServer\SuperSocketNetLib\Certificate
-
Restart the SQL Server service.
-
Perform the same steps on other nodes of the SQL cluster.
To configure the SharePoint servers to request encrypted connections
-
Logon to every server instance on the SharePoint farm
-
Copy either the original certificate or the exported certificate file to the client computer.
-
On the client computer, use the Certificates snap-in to install either the root certificate or the exported certificate file.
-
In the console pane, right-click SQL Server Native Client Configuration, and then click Properties.
-
On the Flags page, in the Force protocol encryption box, click Yes