How To Configure TDE in SQL Server 2019 From Scratch

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ต.ค. 2024
  • Script file for configure TDE
    www.mediafire....
    Script file for Roll back of TDE
    www.mediafire....

ความคิดเห็น • 39

  • @andyw3152
    @andyw3152 ปีที่แล้ว +1

    Hi, great video, thanks. Just one question. Can you explain why the step 4 to remove the TDE was optional?

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  ปีที่แล้ว

      In Real Time Master key is linked with other Certificates.
      since I am doing in my lab environment as part of cleanup of TDE. if it is linked with other certificates, then it's not recommended that's why I told its optional.

  • @aniruddhabera6049
    @aniruddhabera6049 ปีที่แล้ว +1

    Thanks for sharing your knowledge on TDE bro

  • @mohammadzarif2378
    @mohammadzarif2378 2 หลายเดือนก่อน

    Great demo
    The "Oh shitt" moment got me lol @9:20

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  2 หลายเดือนก่อน

      Thanks... i watch it again because of your comments

  • @thrinadhbobby7055
    @thrinadhbobby7055 2 ปีที่แล้ว

    For rollback you are running three scripts in primary replica. If we need to rollback for secondary same queries we need to execute on secondary?

  • @jonasesteves4378
    @jonasesteves4378 ปีที่แล้ว

    Nice video! I have a question. What I need to do when the certificate expires?

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  ปีที่แล้ว +1

      TDE still work with expired certificate however it is not recommended
      You can drop the old and recreate the certificate so that the certificate date will increase. However will do the same practical on this kind once time permits.
      Thanks for bringing the scenarios to our Notice.
      MS SQL DBA Tech Support Team

  • @devopsMahi
    @devopsMahi ปีที่แล้ว

    Hi Sir, we need to create a each TDE certifate for each db (or) one TDE for all databases in sql server ??

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  ปีที่แล้ว

      Hello Mahi,
      Thanks for reaching to us.
      Its all about your requirement. Creating TDE cert for each database is very complex and it increase DB administrator work. I always prefer to maintain at one. Talk to your team and discuss the pros and cons and come to one discussion and implement the same in test environment and finally apply to the prod.
      Thanks
      MS SQL DBA Tech Support

  • @rahulsharma4864
    @rahulsharma4864 2 ปีที่แล้ว

    Hi , I must say it's an good video btw Which exact permissions are required on login to configure tde

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  ปีที่แล้ว

      Everything
      You must be a high privileged user (such as a system administrator) to create a database encryption key and encrypt a database.
      Reference Link:
      learn.microsoft.com/en-us/sql/relational-databases/security/encryption/enable-tde-on-sql-server-using-ekm?view=sql-server-ver16
      Thanks
      MS SQL DBA Tech Support.

  • @tvskumar1990
    @tvskumar1990 9 หลายเดือนก่อน

    Getting error while trying to create certificate from existing ceritification in another instance.. Kindly help me to resolve this issue
    "The certificate, assymetric key or private key file is not valid or doesn't exist ; or you do not have permissions for it"

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  9 หลายเดือนก่อน

      Check the path location is right or not
      try to use new path and check permissions is having to u and instance service account as well.

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  9 หลายเดือนก่อน

      Meanwhile if possible what u are try to do and have u done POC before implementing this. Is this prod or test instance. is the database is in HA
      before doing anything we need to consider many things to do troubleshoot.at the user end they should not face any issues.

    • @tvskumar1990
      @tvskumar1990 9 หลายเดือนก่อน

      Thank you for the prompt response. I'm working on local SQL Server setup in my machine. Gave permissions to the path from where the master key & certificate are getting used and it worked.

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  9 หลายเดือนก่อน

      Its good to hear

    • @tvskumar1990
      @tvskumar1990 9 หลายเดือนก่อน

      @@MSSQLDBATechSupport But is there a way to renew the default 1 year expiry date of the master certificate?

  • @uzairansari5539
    @uzairansari5539 2 ปีที่แล้ว

    Awesome Harsha ✌️

  • @khusbooallahabadi8992
    @khusbooallahabadi8992 ปีที่แล้ว

    Well explained

  • @sksardar7868
    @sksardar7868 ปีที่แล้ว

    Does this tde works for standard edition 2019 ?

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  ปีที่แล้ว

      No, Transparent Data Encryption (TDE) is not supported in the Standard Edition of SQL Server. TDE is an enterprise feature and is only available in the Enterprise Edition of SQL Server.

  • @ayanvlogs3049
    @ayanvlogs3049 2 ปีที่แล้ว

    Thank You Bro

  • @atew
    @atew 2 ปีที่แล้ว

    Thank you!

  • @azuredevops1650
    @azuredevops1650 2 ปีที่แล้ว

    Thank you

  • @彡彡-x1w9j
    @彡彡-x1w9j 2 ปีที่แล้ว

    Given links are not opening, we need to use VPN?

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  2 ปีที่แล้ว

      The files are uploaded in mediafire website
      I am able to download as a individual.
      This doesn't require any vpn. please try to open in any device or browser
      Thank you
      Tech Support

  • @huyminh733
    @huyminh733 ปีที่แล้ว

    Hi ,I try to restore certificate and private key follow command:
    USE master;
    CREATE CERTIFICATE QLDA_Cert
    FROM FILE = 'E:\Test\MyTDECert.cer'
    WITH PRIVATE KEY
    (
    FILE = 'E:\Test\MyTDECert_PrivateKeyFile.pvk',
    DECRYPTION BY PASSWORD = 'P@ssWord123'
    );
    the current SQL instance doesn’t have access to the file path I have placed the files in.
    Can you help me, please!
    Thanks!

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  ปีที่แล้ว

      Seems like your SQL server instance service account isnt having sufficient Permissions on E:\Test\ folder.
      Provide sufficient permissions or change to other folder where yr instance is having sufficient permissions

  • @YMahesh-sg3su
    @YMahesh-sg3su ปีที่แล้ว

    thank you sir..please share your number