Skip to content

How To Blog

  • How To Capture Full Page Screenshots In Chrome & Firefox How-To
  • fesco bill calculator

    The fesco bill calculator.starting a Daycare Before you are able to establish a budget for your new daycare, you will need to know just how to begin an in-home daycare. When you start deciding that you need to budget you should seriously think about monthly budgeting and to get a means to track your everyday...<p class="more-link-wrap"><a href="https://blog.pkrtousd.gb.net/fesco-bill-calculator/" class="more-link">Read More<span class="screen-reader-text"> “fesco bill calculator”</span> »</a></p>

  • Fix Unidentified Network & No Internet In Windows How-To
  • The 12 Best Characters In Apex Legends Gaming
  • How to Make a Fillable Google Docs Form With Tables How-To
  • Reset method for PS4 controller How-To
  • 7 Ways to Clear Memory and Boost RAM on Windows How-To
  • How to speed up slow internet on your phone? – 11 fixed methods Smartphones

Enable Encryption for Microsoft SQL Server Connections

Posted on October 9, 2020 By blog_786 No Comments on Enable Encryption for Microsoft SQL Server Connections

It’s late afternoon and I just got a very interesting assignment. A client of mine wants to connect to their Microsoft SQL Server over a public network without a VPN, and he asks me how we can best secure this connection. The first thing that crossed my mind was encryption!

So I told him that let’s enable encryption of traffic going through port 1433 so that we can minimize this giant loophole, which is directly related to accessing Microsoft SQL Server over the public network.

Enable Encryption for Microsoft SQL Server Connections

Now, to be able to even start the encryption setup process, we first need the most important of all: a certificate that has the following extended key usage property: Server Authentication 1.3.6.1.5.5.7.3.1.

Therefore, when deploying a self-signed certificate or buying a legitimate one, we need to additionally make sure that the key usage string is exactly the same as above. Now, 99% of the time, a self-signed certificate is sufficient for encryption, but you can get a valid one from a trusted vendor.

Enable Encryption for Microsoft SQL Server Connections

Ok, now that I’ve made sure I have the correct certificate, let’s go in and tell SQL which certificate to use. To do this, we need to copy the certificate fingerprint and enter the following registry key:

HKLM SOFTWARE Microsoft Microsoft SQL Server MSSQL14.MSSQLSERVER MSSQLSERVER SuperSocketNetLib

Enable Encryption for Microsoft SQL Server Connections

This particular key has a value called Certificate. We need to copy and paste the thumbprint of the certificate to this value.

In my case it will look something like this:

Enable Encryption for Microsoft SQL Server Connections

Now let’s go into SQL Server Configuration Manager, then go to SQL Server Network Configuration, under Protocols for MSSQLSERVER, go to Properties and then to Certificate tab. Here we will see the newly deployed certificate in the registry. All that remains is to select the certificate and restart the SQL Server service.

Enable Encryption for Microsoft SQL Server Connections

Enable Encryption for Microsoft SQL Server Connections

We will then move on to enforce protocol encryption by right-clicking on the native SQL client configuration and making sure the Forced Encryption option is set to Yes.

Enable Encryption for Microsoft SQL Server Connections

Now that we have configured the certificate, let’s go back to SQL Server services and restart the service by right-clicking on the SQL Server service (MSSQLSERVER) and choosing Restart.

Enable Encryption for Microsoft SQL Server Connections

Voila, we have now configured port 1433 to encrypt communications!

The next step is to configure encrypted connections in our application or in case of connecting from SQL Server Management Studio.

To do this in SSMS, we need to follow these steps:

  1. Click Connect to Database Engine.
  2. In the Connect to Server dialog box, go to Options
  3. On the Connection Properties tab, click Encrypt Connection.

That’s it, pretty simple and straightforward. I hope you enjoyed this article and hope you come back for more interesting articles.

How-To Tags:Enable Encryption for Microsoft SQL Server Connections

Post navigation

Previous Post: Creating an SOFS Share on S2D using Virtual Machines
Next Post: Using Wireshark to Sniff an SMB transmission

Related Posts

  • Disable Aero Snap/Snap Assist in Windows 7/8/10 How-To
  • how do i fix videos not play on linux? How-To
  • How To Use DriveDroid to Boot Linux On PC Using Android How-To
  • How to Play PC Games on Android How-To
  • WWDC 2020 – How to Add Face Mask to Memoji in iOS 14 How-To
  • Never Miss a Birthday: Import Facebook Birthdays to Google Calendar How-To

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Archives

  • June 2023
  • May 2023
  • April 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • March 2021
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018

Categories

  • Amazon Web Services
  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Featured Posts
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • Linux
  • Linux Tips
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Wordpress

Recent Posts

  • How to Sign PDF on Windows 10
  • 7 Best Cell Phone Screen Protectors 2021
  • How to reset Windows 10 from factory settings
  • The best apps should try to use iPhone battery percentage
  • 9 Ways to Fixing Safari Not Working on Mac?

Recent Comments

  1. How I Fix a Clock_Watchdog_Timeout BSOD in Windows 10 - How To Blog on How to Reset BIOS to Default Settings
  2. How I Fix a Clock_Watchdog_Timeout BSOD in Windows 10 - How To Blog on What to Do When Your USB Drive Is Not Showing Up
  3. Alexa Routines and Skills 2023: A Tutorial - How To Blog on How to Create a Routine With Amazon Alexa
  4. How I Fix a Clock_Watchdog_Timeout BSOD in Windows 10 - How To Blog on How To Enter Outlook Safe Mode To Fix Issues
  5. How I Fix a Clock_Watchdog_Timeout BSOD in Windows 10 - How To Blog on How To Roll Back A Driver In Windows 10
  • 5 Serious Health Issues From Sitting Too Long & How To Avoid Them Computer Tips
  • Best checkbook calculator 2020

    Best checkbook calculator 2020

  • How to Fix Android Hotspot Not Working? Computer Tips
  • Fix “Windows Anytime Upgrade was not successful” Error Windows 7
  • Best calculator pack 2020

    Best calculator pack 2020

  • Free Movies downloading Apps on Android Smartphones
  • 7 Best Free Email Marketing Services (September 2020) Reviews
  • How to use AutoText and Quick Parts in MS Word MS Office Tips

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version