其他分享
首页 > 其他分享> > Column Encryption Setting=Enabled 客户端没有证书的时候

Column Encryption Setting=Enabled 客户端没有证书的时候

作者:互联网

 

表层错误

Failed to decrypt column 'Password'.
Failed to decrypt a column encryption key using key store provider: 'MSSQL_CERTIFICATE_STORE'. The last 10 bytes of the encrypted column encryption key are: 'A8-F2-EC-10-37-38-B7-73-81-0C'.
Certificate with thumbprint 'BADF572EE3703D411039C002C2F556D4CCC1441C' not found in certificate store 'My' in certificate location 'CurrentUser'. Verify the certificate path in the column master key definition in the database is correct, and the certificate has been imported correctly into the certificate location/store.
Parameter name: masterKeyPath

 

inner exception

Certificate with thumbprint 'BADF572EE3703D411039C002C2F556D4CCC1441C' not found in certificate store 'My' in certificate location 'CurrentUser'. Verify the certificate path in the column master key definition in the database is correct, and the certificate has been imported correctly into the certificate location/store.
Parameter name: masterKeyPath

 

#region Assembly Microsoft.EntityFrameworkCore, Version=2.2.6.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// C:\Users\clu\.nuget\packages\microsoft.entityframeworkcore\2.2.6\lib\netstandard2.0\Microsoft.EntityFrameworkCore.dll
#endregion

EntityFramework吃掉异常

Microsoft.EntityFrameworkCore

public static class EntityFrameworkQueryableExtensions

await SingleOrDefaultAsync

标签:certificate,Column,Encryption,Enabled,column,location,key,Microsoft,store
来源: https://www.cnblogs.com/chucklu/p/16437061.html