从SQL Server代理作业运行时,SSIS软件包无法解密列加密密钥

发布于 2025-02-09 03:06:29 字数 205 浏览 0 评论 0原文

在我们的SSIS软件包中,我们正在使用一些加密列插入第三方数据库中的数据,为此,我们在SQL Server托管实例中安装了证书。

问题是当我们手动运行包装时,数据正在解密,SSIS软件包正在成功运行,但是当我们将软件包部署到SSISDB目录并从SQL Server代理作业中运行时,我们将获得“未能解密A列加密使用密钥存储提供商MSSQL_CERTIFICATE_STORE存储”。

In our SSIS package we are inserting data from a third party database with some encrypted columns and for that we install a certificate in our SQL server Managed Instance.

The Problem is when we run a package manually, the data is decrypting and the SSIS package is running successfully but when we deploy the package to SSISDB catalogs and run it from the SQL Server Agent Job we are getting a "failed to decrypt a column encryption store using key store provider MSSQL_Certificate_Store".

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

孤独患者 2025-02-16 03:06:29

要向证书添加权限:

  1. 在服务器上,请转到管理计算机证书
  2. 找到证书。添加它的用户可以在个人下找到它。
  3. 右键单击,所有任务,管理私钥...

​nofollow noreferrer“> “

To add permissions to the certificate:

  1. On the server, go to Manage Computer Certificates
  2. Find the certificate. The user that added it can find it under personal.
  3. Right click, All Tasks, Manage Private Keys...

enter image description here

  1. Add the user in the permissions dialogue:

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文