0

当我尝试使用命令创建 conjure 帐户时(我正在关注 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 退出

4

1 回答 1

1

我已经通过在使用docker container prune.

于 2019-10-20T13:56:55.207 回答