TLS , SQL Server and powershell cmdlet - Get-TLSCipherSuite

23 November,2018 by Jack Vamvas

Question : I have an issue from a developer about an error on the app which may be related to TLS version support by SQL Server   From what I can see this could be related to a TLSV1.0 version issue.  Does SQL2016 support TLSV1.0 ? how can I view which cipher suites are available on both the server hosting SQL Server and on the desktop connecting to SQL Server

 

Answer: Microsoft SQL Server 2016 supports TLS 1.1 and TLS 1.2 . SQL Server 2016 and SQL Server 2017 on Windows versions ship with TLS 1.0 to TLS 1.2 support. You have to disable TLS 1.0 and 1.1 if you want to use only TLS 1.2 for client-server communication.

 

To view the cipher suites available to TLS there is a Powershell cmdlet which returns a list , you should be able to use this on Windows 10 and Windows 2016

Get-TLSCipherSuite | ft name,certificate,cipherlength

 

 


Author: Jack Vamvas (http://www.sqlserver-dba.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on TLS , SQL Server and powershell cmdlet - Get-TLSCipherSuite


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact|Copyright & Disclaimer