SM4加密切换:
开启SM4加密可在war包/WEB-INF/classes的启动工程application.properties文件中加入:eacl.sm4.enable=true 或者 环境变量添加配置:-Deacl.sm4.enable=true
sm4加密和不加密切换时,需要提前在环境资源管理器中删掉管理员密码相关配置文件,文件路径:root/products/eacl/serveruser.xml。
或者在系统库中执行以下SQL
delete from ABI56_VFS where parentdir_ = '/root/products/eacl/' and filename_ = 'serveruser.xml'
P.S 旧环境切换成SM4加密,需要自己处理字段长度及初始化密码
{VERSION}_EACL_USER中的tel、password及{VERSION}_EACL_ORG中tel的字段长度不做升级处理,需要自己手动去改大改字段长度,然后再开启手机、密码存储加密。
有如下vfs表需要修改tel(改为128)及password(改为128)长度。
(1)资源管理器下:/root/products/eacl/user-mapping.xml (用户表)
(2)资源管理器下:/root/products/eacl/org-tree-mapping.xml(机构表)
(3)资源管理器下:/root/products/eacl/org-sctree-mapping.xml(缓慢机构表)
请先登录