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

 

#region Assembly DevExpress.Mvvm.v21.2, Version=21.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
// C:\Users\clu\.nuget\packages\devexpress.mvvm\21.2.5\lib\net452\DevExpress.Mvvm.v21.2.dll
#endregion

DevExpress.Mvvm

最后发现异常是被这个AsyncCommand吃掉的

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(170)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2021-07-02 Msg 547, Level 16, State
2021-07-02 Win10操作系统升级到20H2的进程名字
2021-07-02 Using Spy++ in Visual Studio 2019
2021-07-02 How to print GETDATE() in SQL Server with milliseconds in time?
2020-07-02 NLog Tutorial
2020-07-02 Securing Azure CDN assets with token authentication
2020-07-02 How can I uninstall the language pack of .net 4.8?
点击右上角即可分享
微信分享提示