Conjur quickstart创建myConjurAccount,显示rake中止了! OpenSSL :: Cipher :: CipherError:

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Conjur quickstart创建myConjurAccount,显示rake中止了! OpenSSL :: Cipher :: CipherError:相关的知识,希望对你有一定的参考价值。

当我尝试使用命令创建普通帐户时(我正在关注conjur快速入门教程)

docker-compose exec conjur conjurctl account create myConjurAccount > admin_data

我在admin_data文件中收到密码错误,当我cat admin_data文件

rake aborted!
OpenSSL::Cipher::CipherError: 
/var/lib/gems/2.5.0/gems/slosilo-2.1.1/lib/slosilo/symmetric.rb:37:in`final'
/var/lib/gems/2.5.0/gems/slosilo-2.1.1/lib/slosilo/symmetric.rb:37:in `decrypt'
/var/lib/gems/2.5.0/gems/slosilo-2.1.1/lib/slosilo/attr_encrypted.rb:60:in `decrypt'
/var/lib/gems/2.5.0/gems/slosilo-2.1.1/lib/slosilo/attr_encrypted.rb:40:in `block (3 levels) in attr_encrypted'
/var/lib/gems/2.5.0/gems/slosilo-2.1.1/lib/slosilo/adapters/sequel_adapter.rb:32:in `get_key'
/var/lib/gems/2.5.0/gems/slosilo-2.1.1/lib/slosilo/keystore.rb:18:in `get'
/var/lib/gems/2.5.0/gems/slosilo-2.1.1/lib/slosilo/keystore.rb:47:in `[]'
/opt/conjur-server/app/models/account.rb:6:in `find_or_create_accounts_resource'
/opt/conjur-server/lib/tasks/account.rake:15:in `block (2 levels) in <top (required)>'
/var/lib/gems/2.5.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
Tasks: TOP => account:create
(See full trace by running task with --trace)

但是有时候,它的创造我不了解是什么使它在后台运行。任何帮助将不胜感激。并且docker-compose ps显示

bot_app             tail -F anything                 Up
conjur_client       sleep infinity                   Up
conjur_server       conjurctl server                 Up       80/tcp
nginx_proxy         nginx -g daemon off;             Up       0.0.0.0:8443->443/tcp, 80/tcp
postgres_database   docker-entrypoint.sh postgres    Up       5432/tcp 
openssl             openssl req -newkey rsa:20 ...   Exit 0 

每次openssl以0退出

以上是关于Conjur quickstart创建myConjurAccount,显示rake中止了! OpenSSL :: Cipher :: CipherError:的主要内容,如果未能解决你的问题,请参考以下文章

maven_创建quickstart模板时异常

maven创建的quickstart 识别不到applicationContext.xml

创建 maven maven-archetype-quickstart 项目抱错问题解决方法

Boost.Python 创建的 dll 无法导入(遵循 Boost Python 的 QuickStart)

Akka Quickstart with Java-笔记

无法通过在 cloudera quickstart VM 中使用 hue 创建的命令行找到 hive 表