Conjur quickstart Create myConjurAccount showing rake aborted! OpenSSL::Cipher::CipherError:
Conjur quickstart Create myConjurAccount showing rake aborted! OpenSSL::Cipher::CipherError:
当我尝试使用命令创建 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 退出
我已通过使用 docker container prune
.
运行 召唤 docker 容器之前删除所有已停止的容器来解决此问题
当我尝试使用命令创建 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 退出
我已通过使用 docker container prune
.