Help understanding .cer file found in DATA folder

  • What is the purpose of the .cer file found in MSSQL.1\MSSQL\Data? Something to do with encryption, but what?

    Why do I see as many as three .cer files on a server?

    Thanks, Dave

  • indeed, it may even be your server instance's selfcreated certificate to encrypt e.g. connections, ...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

  • I know one .cer file is created when the instance is installed, but how is it used and why does one instance have three files?

    Dave

  • http://blogs.msdn.com/sql_protocols/archive/2005/11/10/491563.aspx

    states

    By default using SQL Native Client your login packet will be encrypted over the wire so as to not disclose your password. This encryption is supported by a self-signed & self-generated certificate that is provisioned by SQL upon server startup.

    That explains one certificate.

    RS, SSIS, Servicebroker, dbmirroring, ... can also use certificates.

    Did you install or test with that ?

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

  • Hope you have made replication.Certificates are automatically generated when you create replications.

  • SSIS is installed.

    Thanks

  • Problem solved...thought not necessarily understood.

    It turns out each time you install a service pack SQL Server creates a new certificate. Why it doesn't delete the old certificate I don't understand. On this particular server I have two instances of SQL Server. I installed the default instance and applied SP1. I then installed a named instance and applied SP1, but to the entire server, not just the default instance. (My mistake). The second install of SP1 to the default instance created a second certificate. Just for fun I installed SP1 a third time, which created a third certificate. The behavior is a bit strange because in SQL 2000 the service packs were smart enough to check the version of SQL Server to see if the service pack was already applied. It wouldn't automatically reinstall like it does in 2005.

    Thanks, Dave

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply