使用本地密钥MONGODB启用数据加密时出错

时间:2016-04-06 15:12:48

标签: mongodb security ssl encryption bigdata

我已经成功加密了mongoDB中的通信,但是当我尝试启用数据加密时,我遇到了错误。我正在使用版本为3.2.4的mongoDB企业版。我在控制台中收到以下消息:

ERROR: child process failed, exited with error number 14

但是当我查看日志时,我看到如下详细错误:

Unable to retrieve key .system, error: there are existing data files, but no valid keystore could be located.
Fatal Assertion 28561

以下是我的配置文件的片段:

# enable authentication
security:
  authorization: enabled
  enableEncryption: true
  encryptionKeyFile: /home/test/mongodb-keyfile

没有enableEncryptionencryptionKeyFile参数,它可以正常工作。谁能解释一下我在这里失踪了什么?谢谢!

0 个答案:

没有答案