Skip to content

Instantly share code, notes, and snippets.

@ilovechai
Last active January 27, 2022 19:03
Show Gist options
  • Save ilovechai/d50983f306ec60312020678513fe63bf to your computer and use it in GitHub Desktop.
Save ilovechai/d50983f306ec60312020678513fe63bf to your computer and use it in GitHub Desktop.
Configure SSL certificates MS SQL server on Windows Server

Enable SSL connection MSSQL

Export ssl cert

  • Go to IIS > export ssl cert
  • Execute openssl command to convert ssl cert to .crt X509 format
openssl pkcs12 -in C:\Users\Administrator\Desktop\mssql-master.pfx -out mssql.crt -no
des

Enter Import Password:mssql-master

Double check by dumping the cert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment