我已经在RHEL7上构建了一个3节点的MongoDB 3.2.3集群。
因为加密是这个版本的MongoDB中的一个新特性,所以我尝试了在我的配置文件中以不同的方式启用它。下面是我的配置文件的一部分:
net:
port: 27017
bindIp: 127.0.0.1, # Listen to local interface only, comment to listen on all interfaces.
security:
authorization: enabled
keyFile: /data/mongodb-keyfile/auth-keyfile
encryption:
enabled: true
Keyfile: /data/encryp-keyfile正在尝试使用本地密钥文件启用加密。
当我尝试使用上述配置重新启动服务时,加密配置服务被终止。
有人能指导我如何在MongoDB中启用静态数据加密吗?
发布于 2020-06-01 12:17:38
将上述内容添加到Dbpath文件夹中,并使用适当的权限创建configuration.
https://stackoverflow.com/questions/36265116
复制相似问题