How To Configure TDE in SQL Server 2019 From Scratch

Поделиться
HTML-код
  • Опубликовано: 16 янв 2025

Комментарии • 37

  • @aniruddhabera6049
    @aniruddhabera6049 Год назад +1

    Thanks for sharing your knowledge on TDE bro

  • @mohammadzarif2378
    @mohammadzarif2378 5 месяцев назад

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

  • @andyw3152
    @andyw3152 2 года назад +1

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

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  2 года назад

      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.

  • @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?

  • @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

  • @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

  • @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  2 года назад

      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 Год назад

    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  Год назад

      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  Год назад

      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 Год назад

      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  Год назад

      Its good to hear

    • @tvskumar1990
      @tvskumar1990 Год назад

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

  • @uzairansari5539
    @uzairansari5539 3 года назад

    Awesome Harsha ✌️

  • @khusbooallahabadi8992
    @khusbooallahabadi8992 Год назад

    Well explained

  • @azuredevops1650
    @azuredevops1650 2 года назад

    Thank you

  • @atew
    @atew 2 года назад

    Thank you!

  • @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

  • @彡彡-x1w9j
    @彡彡-x1w9j 3 года назад

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

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  3 года назад

      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