July 25, 2013 at 10:45 pm
Nice and easy - thanks Steve.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
July 25, 2013 at 11:00 pm
SQLRNNR (7/25/2013)
Nice and easy - thanks Steve.
+1 🙂
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
July 25, 2013 at 11:20 pm
Good one !!!
Thanks
Vinay Kumar
-----------------------------------------------------------------
Keep Learning - Keep Growing !!!
July 26, 2013 at 1:08 am
TDE isn't my strong suit. Ah well, it's almost weekend 🙂
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
July 26, 2013 at 2:59 am
Nice one.
July 26, 2013 at 7:41 am
This was removed by the editor as SPAM
July 26, 2013 at 7:44 am
Nice question that should have been easy.
Should have read it slower I guess.
You create and store the Certificates in master.
You have to be connected to the CRM to USE the certificate to protect the DEK.
July 26, 2013 at 8:28 am
I got it right, because I know that you have to create a certificate in master to protect the master key - but the question is a bit misleading.
The question says: "You have created a master key already in the master database and in the CRM database".
First, you do not create a master key in the CRM database. The master key is in the master database only. The key in the CRM database is called a "database encryption key" (DEK).
Second, I don't even think it's possible to create the DEK in the CRM database without FIRST creating the certificate. Since you need this certificate when you create the DEK.
July 26, 2013 at 8:30 am
Hugo Kornelis (7/26/2013)
I got it right, because I know that you have to create a certificate in master to protect the master key - but the question is a bit misleading.The question says: "You have created a master key already in the master database and in the CRM database".
First, you do not create a master key in the CRM database. The master key is in the master database only. The key in the CRM database is called a "database encryption key" (DEK).
Second, I don't even think it's possible to create the DEK in the CRM database without FIRST creating the certificate. Since you need this certificate when you create the DEK.
Glad to know it was not just me... Still a good question Steve.
July 26, 2013 at 8:33 am
Good question.......
July 26, 2013 at 9:24 am
Got it wrong but learned something...
Thanks, Steve!
July 26, 2013 at 9:36 am
Hugo Kornelis (7/26/2013)
I got it right, because I know that you have to create a certificate in master to protect the master key - but the question is a bit misleading.The question says: "You have created a master key already in the master database and in the CRM database".
First, you do not create a master key in the CRM database. The master key is in the master database only. The key in the CRM database is called a "database encryption key" (DEK).
Second, I don't even think it's possible to create the DEK in the CRM database without FIRST creating the certificate. Since you need this certificate when you create the DEK.
The master key in the CRM database was designed to be misleading to see if you understand. You can create a master key in any database. However for TDE, only the one in the "master" database matters.
The DEK is in the TDE enabled database, and is protected by a cert in master, which you must create first.
July 26, 2013 at 2:37 pm
Steve Jones - SSC Editor (7/26/2013)
The master key in the CRM database was designed to be misleading to see if you understand. You can create a master key in any database. However for TDE, only the one in the "master" database matters.
The DEK is in the TDE enabled database, and is protected by a cert in master, which you must create first.
Almost got me. Thank you for this further explanation I had to scratch my head and rethink this before I answered. Thanks for forcing us to be alert, even on a Friday.
🙂
Not all gray hairs are Dinosaurs!
July 26, 2013 at 2:42 pm
Nice question.
We are getting quite a series of questions on TDE. It's good to have many questions on a topic and fairly close together, as it teaches much more effectively that questions separated by months.
Tom
Viewing 15 posts - 1 through 15 (of 17 total)
You must be logged in to reply to this topic. Login to reply