RE: How to enable 2-way SSL encryption

From: Michael, Cheng [MSFT] (v-mingqc_at_online.microsoft.com)
Date: 04/24/04


Date: Sat, 24 Apr 2004 09:50:04 GMT

Hi Yuh-Mlng,

>From your description, I understand that you would like to know something
about SSL encryption and connection between two machines.

Based on my knowledge, authentication is provided through the use of a
digital signature. This digital signature takes the form of a certificate
which is administered from a Certificate Authority. For more information,
there is a good blurb in article q205698, "Submit a certificate request to
this CA using a form." Another good article is q245152, "How Secure
Sockets Layer Works."

SQL server 2000 implements SSL. There are two main setup procedures to
implement SSL:
     Enable SSL on the SQL Server - following this procedure results in all
client
connections to SQL Server implementing SSL. This requires two steps:
     1. Create a valid certificate from a Certificate Authority on the SQL
Server
     2. Enable Force protocol encryption in the SQL Server Network Utility.

     Enable SSL on individual clients - following this procedure results in
implenting secure connections between SQL Server and only those clients
configured for secure connections. Example - you have approx 100 clients
that connect to SQL 2000 server, but you only require two connections be
secure. This is a good example of where client configured secure sockets
may be arguably a better, more efficient implementation. To set up client
SSL to SQL Server:
     1. Create a valid certificate from a Certificate Authority on the SQL
Server
     2. Set up client with Trusted Root CA certificate - basically
certificate so
that client trusts the CA that gave SQL Server its certificate.
     3. On the client, enable "Force protocol encryption in the SQL Server
Client
Network Utility.

NOTICE that force protocol encryption may have some performance impact on
your SQL Server in some cases.

Moreover, you could have a look at
INF: How SQL Server Uses a Certificate When the Force Protocol Encryption
Option is Set On
http://support.microsoft.com/?id=318605

HOW TO: Enable SSL Encryption for SQL Server 2000 with Certificate Server
http://support.microsoft.com/?id=276553

HOW TO: Enable SSL Encryption for SQL Server 2000 with Microsoft Management
Console
http://support.microsoft.com/?id=316898

In addition, if you are unfamiliar with PKI, I would like to recommand the
documents below

An Introduction to the Windows 2000 Public-Key Infrastructure
http://www.microsoft.com/technet/archive/windows2000serv/evaluate/featfunc/p
kiintro.mspx
which will give you a brief introduction for Windows 2000 PKI

Hope this helps and if you have any questions or concerns, don't hesitate
to let me know. We are here to be of assistance!

Sincerely yours,

Michael Cheng
Microsoft Online Support
***********************************************************
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks.



Relevant Pages

  • HOWTO: SQL Server SSL On A Cluster
    ... This post describes issues concerning the implementation of SSL ... certificates on SQL Server 2000 clusters. ... cluster and failover is working, ... DC is running a certificate authority, and that the CA is configured ...
    (microsoft.public.sqlserver.clustering)
  • HOWTO: SQL Server SSL On A Cluster
    ... This post describes issues concerning the implementation of SSL ... certificates on SQL Server 2000 clusters. ... cluster and failover is working, ... DC is running a certificate authority, and that the CA is configured ...
    (microsoft.public.sqlserver)
  • How to install SQL server securing it with SSL communications. For Server 2000 or Server 2003. Issue
    ... segment as the webserver or SQL server with windows patches. ... Most early invented NIDS do NOT understand SSL or IPv6 traffic because they ... administrators group during the installation or after. ... Use the HTML web page on the certificate server. ...
    (microsoft.public.sqlserver.security)
  • RE: Is using Enterprise Manage across the internet secure?
    ... you should look into SSL ... Enable SSL Encryption for SQL Server 2000 with Certificate ... Enable SSL Encryption for SQL Server 2000 with Microsoft.... ...
    (microsoft.public.sqlserver.security)
  • Re: SQL Server 2005 SP2 fails in upgrading Database service
    ... Clearing the certificate had no success. ... I suspect there's a problem with the permissions of the SQL Server service ... SQL Server Database Services 2005 ENU SP2 ... This is an informational message only; no user action is ...
    (microsoft.public.sqlserver.setup)