Windows 10: Fix: Cannot find server certificate with thumbprint while restoring SQL database

Discus and support Fix: Cannot find server certificate with thumbprint while restoring SQL database in Windows 10 Tutorials to solve the problem; When restoring a database you might get the below error. System.Data.SqlClient.SQLError: Cannot find server certificate with thumbprint [ATTACH]... Discussion in 'Windows 10 Tutorials' started by Noel, Oct 19, 2018.

  1. Noel New Member

    Fix: Cannot find server certificate with thumbprint while restoring SQL database


    When restoring a database you might get the below error.

    System.Data.SqlClient.SQLError: Cannot find server certificate with thumbprint

    Fix: Cannot find server certificate with thumbprint while restoring SQL database sqlrestoretde.jpg

    This is because the database was encrypted with Transparent Data Encryption (TDE) and you will not be able to restore it until you get the Certificate, the Private key and the password from the supplier of the database.

    After you collect the required items above, open a new SQL query as the server admin on the database master.

    First we need to create the master cerificate on the server by using

    USE master
    GO
    CREATE MASTER KEY ENCRYPTION BY PASSWORD = '<MyComplexPassword>'
    GO

    Now that the master certificate has been installed you will need to install the certificate provided by the owner of the database

    CREATE CERTIFICATE MyServerCert
    FROM FILE = 'C:\TDECert\Cert.cer'
    WITH PRIVATE KEY (FILE = 'C:\TDECert\key.pvk',
    DECRYPTION BY PASSWORD = '<PasswordProvidedByTheSupplier>');

    Once this is done and executed you will be allowed to restore the database.

    (0)

    read more...
     
  2. JLP1 Win User

    Running sql server 2005 and have restored several databases from backups using commands

    Original Title: sql server 2005

    I have a windows 10 computer running SQL server 2005 and have restored several databases from backups that were created using the following command:

    BACKUP DATABASE @name TO DISK = @fileName WITH INIT

    After restoring those databases, everything seems to run fine, but sys.dm_db_index_usage_stats is not being updated effectively. I can only get the stats to show up for 1 database at a time, and it only seems to be temporary. They are removed as soon as
    the next database is updated. The last updated database will only stay there temporarily too. I am not detaching the databases or restarting the server or doing anything else that should reset the statistics. Any ideas?
     
  3. SQL Server Files

    Hi RalphHead,

    Sorry for the inconvenience caused to you and thank you for your valuable question please, Before attempting reload of Windows 10 I would suggest you to please see the below mentioned article and see if it helps, If the issue persists kindly let me know,waiting
    for your kind reply please.

    https://docs.microsoft.com/en-us/sql/relational...

    Please let me know, if that helps and feel free to ask back any question.

    Kind Regards:

    Yasir
     
    MALIK YASIRNAWAZ, Oct 19, 2018
    #3
  4. Brink Win User

    Fix: Cannot find server certificate with thumbprint while restoring SQL database

    Always Encrypted now generally available in Azure SQL Database


    Source: Always Encrypted now generally available in Azure SQL Database | Blog | Microsoft Azure
     
    Brink, Oct 19, 2018
    #4
Thema:

Fix: Cannot find server certificate with thumbprint while restoring SQL database

Loading...
  1. Fix: Cannot find server certificate with thumbprint while restoring SQL database - Similar Threads - Fix Cannot find

  2. How to check SQL server certificate information

    in Windows 10 Gaming
    How to check SQL server certificate information: We have a software running with SQL server 2012 Express embedded.We check "sys.dm_exec_connections", and find that the connection between the software and the SQL server has been encrypted "encrypt_option"="TRUE".Now we want to know the SSL certificate information for the...
  3. How to check SQL server certificate information

    in Windows 10 Software and Apps
    How to check SQL server certificate information: We have a software running with SQL server 2012 Express embedded.We check "sys.dm_exec_connections", and find that the connection between the software and the SQL server has been encrypted "encrypt_option"="TRUE".Now we want to know the SSL certificate information for the...
  4. SQL Server Database Connectivity Issues

    in Windows 10 Gaming
    SQL Server Database Connectivity Issues: Not sure if this is the appropriate place to ask, but I currently use MS SQL Server Management Studio v18.10 for work. Whenever I'm on WiFi, I have no issues connecting to SQL Server databases, but as soon as I plug in my ethernet cable, I can't connect and I get timeout...
  5. SQL Server Database Connectivity Issues

    in Windows 10 Software and Apps
    SQL Server Database Connectivity Issues: Not sure if this is the appropriate place to ask, but I currently use MS SQL Server Management Studio v18.10 for work. Whenever I'm on WiFi, I have no issues connecting to SQL Server databases, but as soon as I plug in my ethernet cable, I can't connect and I get timeout...
  6. SQL Server Database Connectivity Issues

    in Windows 10 Customization
    SQL Server Database Connectivity Issues: Not sure if this is the appropriate place to ask, but I currently use MS SQL Server Management Studio v18.10 for work. Whenever I'm on WiFi, I have no issues connecting to SQL Server databases, but as soon as I plug in my ethernet cable, I can't connect and I get timeout...
  7. Inplace upgrade of Server OS on a SQL 2012 Database server

    in Windows 10 Gaming
    Inplace upgrade of Server OS on a SQL 2012 Database server: We have an SQL database server version 2012 which is running on server OS 2012 R2. We want to upgrade the Server OS to 2019 and later upgrade SQL to version 2016.Wanted to know whether it was safe to do an inplace upgrade of the server OS 2012R2 to Server OS 2019. Is this...
  8. Inplace upgrade of Server OS on a SQL 2012 Database server

    in Windows 10 Software and Apps
    Inplace upgrade of Server OS on a SQL 2012 Database server: We have an SQL database server version 2012 which is running on server OS 2012 R2. We want to upgrade the Server OS to 2019 and later upgrade SQL to version 2016.Wanted to know whether it was safe to do an inplace upgrade of the server OS 2012R2 to Server OS 2019. Is this...
  9. Fix: Cannot find server certificate with thumbprint while restoring SQL database

    in Windows 10 Tutorials
    Fix: Cannot find server certificate with thumbprint while restoring SQL database: When restoring a database you might get the below error. System.Data.SqlClient.SQLError: Cannot find server certificate with thumbprint [ATTACH] This is because the database was encrypted with Transparent Data Encryption (TDE) and you will not be able to restore it until...
  10. Thumbprint of a Certificate help

    in Windows 10 Support
    Thumbprint of a Certificate help: Hello Before doing a format on my computer and a fresh install i copied the things i wanted to save to an external hard drive. Now that i have the installation done, i can access everything except all the pictures that i had. They appear with a lock on the top right, when i...

Users found this page by searching for:

  1. cannot find server certificate with thumbprint

    ,
  2. cannot find server certificate thumbprint sql

    ,
  3. cannot find certificate with thumbprint

    ,
  4. System.Data.SqlClient.SqlError: Cannot find server certificate with thumbprint,
  5. sql restore cannot find server certificate with thumbprint,
  6. SqlError: Cannot find server certificate with thumbprint,
  7. cannot find server certificate with thumbprint sql server,
  8. cannot find server certificate thumbprint Microsoft SQL Server Error: 33111,
  9. SQL cannot find server certificate with thumbprint RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server Error: 33111),
  10. cannot find server certificate thumbprint,
  11. cant find server certificate with thumbprint,
  12. SQL Server cannot find server certificate with thumbprint,
  13. thumbprint from SQL Connection,
  14. sql server restore failed System.Data.SqlClient.SqlError: Cannot find server certificate with thumbprint,
  15. sql server error: Cannot find server certificate with thumbprint