Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Transparent Data Encryption (TDE) SQL Server 2008


Transparent Data Encryption (TDE) SQL Server 2008

Author
Message
Roy Ernest
Roy Ernest
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2494 Visits: 6852
Thanks Tom. I tried to do that and I guess I succeeded.

-Roy
Eric Min
Eric Min
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 95
Hello, Roy,
The TDE works fine on SQL Server 2008 R2 for me.
Now I am trying to use SQL Audit in SQL Server 2008.
Everything is working but the Audit log date somehow is different from the SQL Sever or Windows System date. For example, the current date is 11/16/2010 3:48 PM but the Audit log date displays as 11/16/2010 8:48 PM.
Do you have any idea?

Thanks a lot for your help in advance.

Eric
Roy Ernest
Roy Ernest
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2494 Visits: 6852
Do you by any chance have any time zone difference? TDE should not have any issues with Auditing. But I have heard that Auditing can have issues with replication.

-Roy
Eric Min
Eric Min
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 95
Thanks Roy.
We are in Eastern Time zone.
I think the time zone is not a problem.
The problem is that the SQL Audit event log time is different from the Server current date.
It is applying to SQL Audit alone. Nothing to do with TDE.

Thanks,

Eric
TomThomson
TomThomson
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10704 Visits: 12001
Eric Min (11/17/2010)
Thanks Roy.
We are in Eastern Time zone.
I think the time zone is not a problem.
The problem is that the SQL Audit event log time is different from the Server current date.
It is applying to SQL Audit alone. Nothing to do with TDE.

Thanks,

Eric

Eastern Time Zone? As in UTC-5? And 3:48 server time is 8:48 SQL Audit Log time according to your earlier post. That looks as if the SQL audit event log time is UTC time while the Server current date is Easter Time.

I used to get awfully bored explaining to people that the default IIS log format used UTC even in India, and even in the summer in the UK. Don't know if SQL Server Audit logging does the same.

Tom

Roy Ernest
Roy Ernest
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2494 Visits: 6852
Thanks for chiming in Tom. I do not have much clue about Auditing. This could explain the time difference.

-Roy
Eric Min
Eric Min
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 95
Thanks Tom & Roy,

I am in (UTC-05:00) Eastern Time (US & Canada) time zone.
The SQL Audit log is written to a text file by SQL Server.
What do I need to do to get the correct date / time to log into the SQL Audit text file?
There is no IIS installed on the server by the way.

Thanks a lot,

Eric
pietje gates
pietje gates
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 197
Hello,

I followed this article and everything went fine untill I tried to create the certificate on the second instance.
(Both instances on the same server both with different windows users as service accounts)

USE [master]
GO
CREATE CERTIFICATE TDECertificate
FROM FILE = 'E:\MSSQL10.MSSQLSERVER\MSSQL\Backup\Certificate_EncryptionKey\TDECertificate.cert'
WITH PRIVATE KEY (
FILE = 'E:\MSSQL10.MSSQLSERVER\MSSQL\Backup\Certificate_EncryptionKey\TDE_Certificate_DYNAMICS.key',
DECRYPTION BY PASSWORD = ‘xxxxxxxx’)

I get the following:

The certificate, asymmetric key, or private key file does not exist or has invalid format.

My server OS is Windows 2008 R2.
Sql version 2008 R2

Eventually I found that the service account of the second SQL instance received a "access denied" error on the "certificate" and private key" files. Giving the service account of the second instance full control NTFS rights on this files fixed my problem. (Maybe read only rights would have been enough.)

Cheers.
Roy Ernest
Roy Ernest
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2494 Visits: 6852
Thank You for posting the issue and the way you solved it. It will help others if they encounter this problem.

-Roy
sierradream2001
sierradream2001
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 49
The solution for disabling TDE is pretty simple. After running the ALTER DATABASE command, and allowing time for the database to decrypt, you simply need to run the DROP DATABASE ENCRYPTION KEY command in the database in question. The database can then be restored onto another server without the certificate.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search