我需要帮助来设置 ColdFusion 以使用 MS SQL Always Encrypted 列

问题描述

我在数据库 (MS sql 2019) 中的 varchar 列上启用了始终加密选项。 现在,ColdFusion (2016) 应用程序生成错误 ByteArray 对象无法转换为字符串。

如何在 CF 2016 服务器中为此数据库启用或注册加密?

更新: 感谢 Miguel-F 评论,我使用下面的指南在 CF Administrator 中启用 Always Encrypted 和数据源配置。

https://community.hostek.com/t/sql-server-always-encrypted-columns/315#heading--ColdFusion

但是,我把标题下的段落叠起来

在 ColdFusion 中使用始终加密的列

....

You must also ensure that the ColdFusion service account has access to the
private key. This service usually runs under the ‘cfusion’ user so you will
want to give read permissions for that user to the private key of the 
‘Column Master Key’.

我是否需要创建标准用户并以该用户身份登录并分配给服务 ColdFusion 2016 Application Server?此处是否将这项服务称为“融合”?

那么,我将如何授予该用户读取“列主密钥”私钥的权限?那是在运行 certlm 吗?

我使用 Always Encrypted 选项加密的列是 nvarchar(50),加密后,排序规则更改为 latin1_General_BIN2。 使用列的引用打开页面时仍然出现此错误

ByteArray objects cannot be converted to strings.

任何帮助将不胜感激。 热那

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)