Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Could not load 'dogtag_crypto': no such option B in group

OpenStack Train | EL7

Setting up Barbican with a FreeIPA backend with dogtag crypto. I am running into the error below when i am running a test

openstack secret store --name mysecret --payload j4=]d21
5xx Server error: Internal Server Error: Secret creation failure seen - please contact site administrator.
Internal Server Error: Secret creation failure seen - please contact site administrator.

When running the same test without using the --payload it will complete without error.

The barbican_wsgi_main_error_ssl.log shows:

[Tue Apr 14 14:43:40.421015 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.420 10493 ERROR stevedore.extension [req-6ac5bca4-de68-46d5-8e42-05c716a870bf ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Could not load 'dogtag_crypto': no such option B in group [DEFAULT]: oslo_config.cfg.NoSuchOptError: no such option B in group [DEFAULT]\x1b[00m
[Tue Apr 14 14:43:40.421327 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 WARNING stevedore.named [req-6ac5bca4-de68-46d5-8e42-05c716a870bf ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Could not load dogtag_crypto\x1b[00m
[Tue Apr 14 14:43:40.422565 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers [req-6ac5bca4-de68-46d5-8e42-05c716a870bf ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Secret creation failure seen - please contact site administrator.: barbican.plugin.interface.secret_store.SecretStorePluginsNotConfigured: No secret store plugins have been configured
[Tue Apr 14 14:43:40.422582 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers Traceback (most recent call last):
[Tue Apr 14 14:43:40.422604 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/__init__.py", line 101, in handler
[Tue Apr 14 14:43:40.422609 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
[Tue Apr 14 14:43:40.422612 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/__init__.py", line 87, in enforcer
[Tue Apr 14 14:43:40.422616 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
[Tue Apr 14 14:43:40.422630 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/__init__.py", line 149, in content_types_enforcer
[Tue Apr 14 14:43:40.422642 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
[Tue Apr 14 14:43:40.422646 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/secrets.py", line 458, in on_post
[Tue Apr 14 14:43:40.422650 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     transport_key_id=data.get('transport_key_id'))
[Tue Apr 14 14:43:40.422653 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/plugin/resources.py", line 100, in store_secret
[Tue Apr 14 14:43:40.422657 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     project_id=project_model.id)
[Tue Apr 14 14:43:40.422660 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/plugin/interface/secret_store.py", line 551, in _check_plugins_configured
[Tue Apr 14 14:43:40.422664 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     raise SecretStorePluginsNotConfigured()
[Tue Apr 14 14:43:40.422668 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers barbican.plugin.interface.secret_store.SecretStorePluginsNotConfigured: No secret store plugins have been configured
[Tue Apr 14 14:43:40.422673 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers \x1b[00m
[Tue Apr 14 14:43:40.422680 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 
[Tue Apr 14 14:43:40.423971 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.423 10493 INFO barbican.api.middleware.context [req-6ac5bca4-de68-46d5-8e42-05c716a870bf ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Processed request: 500 Internal Server Error - POST http://dc1-ctl-001.wildcardcorp.lan:9311/v1/secrets/\x1b[00m

Could not load 'dogtag_crypto': no such option B in group

OpenStack Train | EL7

Setting up Barbican with a FreeIPA backend with dogtag crypto. I am running into the error below when i am running a test

openstack secret store --name mysecret --payload j4=]d21
5xx Server error: Internal Server Error: Secret creation failure seen - please contact site administrator.
Internal Server Error: Secret creation failure seen - please contact site administrator.

When running the same test without using the --payload it will complete without error.

The barbican_wsgi_main_error_ssl.log shows:

[Tue Apr 14 14:43:40.421015 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.420 10493 ERROR stevedore.extension [req-6ac5bca4-de68-46d5-8e42-05c716a870bf ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Could not load 'dogtag_crypto': no such option B in group [DEFAULT]: oslo_config.cfg.NoSuchOptError: no such option B in group [DEFAULT]\x1b[00m
[Tue Apr 14 14:43:40.421327 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 WARNING stevedore.named [req-6ac5bca4-de68-46d5-8e42-05c716a870bf ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Could not load dogtag_crypto\x1b[00m
[Tue Apr 14 14:43:40.422565 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers [req-6ac5bca4-de68-46d5-8e42-05c716a870bf ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Secret creation failure seen - please contact site administrator.: barbican.plugin.interface.secret_store.SecretStorePluginsNotConfigured: No secret store plugins have been configured
[Tue Apr 14 14:43:40.422582 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers Traceback (most recent call last):
[Tue Apr 14 14:43:40.422604 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/__init__.py", line 101, in handler
[Tue Apr 14 14:43:40.422609 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
[Tue Apr 14 14:43:40.422612 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/__init__.py", line 87, in enforcer
[Tue Apr 14 14:43:40.422616 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
[Tue Apr 14 14:43:40.422630 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/__init__.py", line 149, in content_types_enforcer
[Tue Apr 14 14:43:40.422642 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
[Tue Apr 14 14:43:40.422646 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/secrets.py", line 458, in on_post
[Tue Apr 14 14:43:40.422650 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     transport_key_id=data.get('transport_key_id'))
[Tue Apr 14 14:43:40.422653 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/plugin/resources.py", line 100, in store_secret
[Tue Apr 14 14:43:40.422657 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     project_id=project_model.id)
[Tue Apr 14 14:43:40.422660 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/plugin/interface/secret_store.py", line 551, in _check_plugins_configured
[Tue Apr 14 14:43:40.422664 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers     raise SecretStorePluginsNotConfigured()
[Tue Apr 14 14:43:40.422668 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers barbican.plugin.interface.secret_store.SecretStorePluginsNotConfigured: No secret store plugins have been configured
[Tue Apr 14 14:43:40.422673 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.421 10493 ERROR barbican.api.controllers \x1b[00m
[Tue Apr 14 14:43:40.422680 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 
[Tue Apr 14 14:43:40.423971 2020] [wsgi:error] [pid 10493] [remote 10.2.30.90:50150] 2020-04-14 14:43:40.423 10493 INFO barbican.api.middleware.context [req-6ac5bca4-de68-46d5-8e42-05c716a870bf ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Processed request: 500 Internal Server Error - POST http://dc1-ctl-001.wildcardcorp.lan:9311/v1/secrets/\x1b[00m

EDIT -

Looks like the previous error was due to an issue with the password, now a database will be created but the following error is generated:

[Fri Apr 17 16:25:18.519383 2020] [authz_core:debug] [pid 23671] mod_authz_core.c(809): [client 10.2.30.90:50608] AH01626: authorization result of Require all granted: granted
[Fri Apr 17 16:25:18.519421 2020] [authz_core:debug] [pid 23671] mod_authz_core.c(809): [client 10.2.30.90:50608] AH01626: authorization result of <RequireAny>: granted
[Fri Apr 17 16:25:18.519549 2020] [authz_core:debug] [pid 23671] mod_authz_core.c(809): [client 10.2.30.90:50608] AH01626: authorization result of Require all granted: granted
[Fri Apr 17 16:25:18.519566 2020] [authz_core:debug] [pid 23671] mod_authz_core.c(809): [client 10.2.30.90:50608] AH01626: authorization result of <RequireAny>: granted
[Fri Apr 17 16:25:18.519867 2020] [wsgi:info] [pid 23657] [remote 10.2.30.90:50608] mod_wsgi (pid=23657, process='barbican-api', application=''): Loading WSGI script '/usr/local/bin/barbican-wsgi-api'.
[Fri Apr 17 16:25:20.599159 2020] [wsgi:error] [pid 23657] 2020-04-17 16:25:20.598 23657 INFO barbican.model.repositories [-] Setting up database engine and session factory\x1b[00m
[Fri Apr 17 16:25:20.619690 2020] [wsgi:error] [pid 23657] 2020-04-17 16:25:20.618 23657 WARNING oslo_db.sqlalchemy.engines [-] MySQL SQL mode is 'STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION', consider enabling TRADITIONAL or STRICT_ALL_TABLES\x1b[00m
[Fri Apr 17 16:25:20.713384 2020] [wsgi:error] [pid 23657] 2020-04-17 16:25:20.713 23657 INFO barbican.model.repositories [-] Updating schema to latest version\x1b[00m
[Fri Apr 17 16:25:20.722488 2020] [wsgi:error] [pid 23657] 2020-04-17 16:25:20.722 23657 WARNING oslo_db.sqlalchemy.engines [-] MySQL SQL mode is 'STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION', consider enabling TRADITIONAL or STRICT_ALL_TABLES\x1b[00m
[Fri Apr 17 16:25:20.724280 2020] [wsgi:error] [pid 23657] 2020-04-17 16:25:20.724 23657 INFO alembic.runtime.migration [-] Context impl MySQLImpl.\x1b[00m
[Fri Apr 17 16:25:20.724432 2020] [wsgi:error] [pid 23657] 2020-04-17 16:25:20.724 23657 INFO alembic.runtime.migration [-] Will assume non-transactional DDL.\x1b[00m
[Fri Apr 17 16:25:20.739700 2020] [wsgi:error] [pid 23657] 2020-04-17 16:25:20.739 23657 INFO barbican.api.app [-] Barbican app created and initialized\x1b[00m
[Fri Apr 17 16:25:20.743403 2020] [wsgi:error] [pid 23657] 2020-04-17 16:25:20.743 23657 WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True.\x1b[00m
[Fri Apr 17 16:25:20.755273 2020] [authz_core:debug] [pid 23671] mod_authz_core.c(809): [client 10.2.30.90:50608] AH01626: authorization result of Require all granted: granted
[Fri Apr 17 16:25:20.755292 2020] [authz_core:debug] [pid 23671] mod_authz_core.c(809): [client 10.2.30.90:50608] AH01626: authorization result of <RequireAny>: granted
[Fri Apr 17 16:25:20.755373 2020] [authz_core:debug] [pid 23671] mod_authz_core.c(809): [client 10.2.30.90:50608] AH01626: authorization result of Require all granted: granted
[Fri Apr 17 16:25:20.755380 2020] [authz_core:debug] [pid 23671] mod_authz_core.c(809): [client 10.2.30.90:50608] AH01626: authorization result of <RequireAny>: granted
[Fri Apr 17 16:25:20.755686 2020] [wsgi:info] [pid 23656] [remote 10.2.30.90:50608] mod_wsgi (pid=23656, process='barbican-api', application=''): Loading WSGI script '/usr/local/bin/barbican-wsgi-api'.
[Fri Apr 17 16:25:22.819601 2020] [wsgi:error] [pid 23656] 2020-04-17 16:25:22.819 23656 INFO barbican.model.repositories [-] Setting up database engine and session factory\x1b[00m
[Fri Apr 17 16:25:22.840807 2020] [wsgi:error] [pid 23656] 2020-04-17 16:25:22.839 23656 WARNING oslo_db.sqlalchemy.engines [-] MySQL SQL mode is 'STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION', consider enabling TRADITIONAL or STRICT_ALL_TABLES\x1b[00m
[Fri Apr 17 16:25:22.934128 2020] [wsgi:error] [pid 23656] 2020-04-17 16:25:22.933 23656 INFO barbican.model.repositories [-] Updating schema to latest version\x1b[00m
[Fri Apr 17 16:25:22.942510 2020] [wsgi:error] [pid 23656] 2020-04-17 16:25:22.942 23656 WARNING oslo_db.sqlalchemy.engines [-] MySQL SQL mode is 'STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION', consider enabling TRADITIONAL or STRICT_ALL_TABLES\x1b[00m
[Fri Apr 17 16:25:22.944209 2020] [wsgi:error] [pid 23656] 2020-04-17 16:25:22.944 23656 INFO alembic.runtime.migration [-] Context impl MySQLImpl.\x1b[00m
[Fri Apr 17 16:25:22.944351 2020] [wsgi:error] [pid 23656] 2020-04-17 16:25:22.944 23656 INFO alembic.runtime.migration [-] Will assume non-transactional DDL.\x1b[00m
[Fri Apr 17 16:25:22.959724 2020] [wsgi:error] [pid 23656] 2020-04-17 16:25:22.959 23656 INFO barbican.api.app [-] Barbican app created and initialized\x1b[00m
[Fri Apr 17 16:25:22.963318 2020] [wsgi:error] [pid 23656] 2020-04-17 16:25:22.963 23656 WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True.\x1b[00m
Error opening input terminal for read
certutil: could not authenticate to token NSS FIPS 140-2 Certificate DB.: SEC_ERROR_BAD_PASSWORD: The security password entered is incorrect.
[Fri Apr 17 16:25:28.367808 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.365 23656 ERROR barbican.plugin.dogtag [req-4c062a82-81ee-4245-9b43-6f95843c7024 ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Error in importing transport cert. KRA may not be enabled: Command '['certutil', '-A', '-d', '/etc/barbican/alias/kra/alias', '-n', 'KRA transport cert', '-t', ',,', '-i', '/tmp/tmpvfg7n_nz']' returned non-zero exit status 255.: subprocess.CalledProcessError: Command '['certutil', '-A', '-d', '/etc/barbican/alias/kra/alias', '-n', 'KRA transport cert', '-t', ',,', '-i', '/tmp/tmpvfg7n_nz']' returned non-zero exit status 255.\x1b[00m
[Fri Apr 17 16:25:28.417591 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils [req-4c062a82-81ee-4245-9b43-6f95843c7024 ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Problem seen creating plugin: 'dogtag_crypto': nss.error.NSPRError: (SEC_ERROR_BAD_DATABASE) security library: bad database.
[Fri Apr 17 16:25:28.417619 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils Traceback (most recent call last):
[Fri Apr 17 16:25:28.417624 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils   File "/usr/local/lib/python3.6/site-packages/barbican/plugin/util/utils.py", line 41, in instantiate_plugins
[Fri Apr 17 16:25:28.417628 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils     plugin_instance = ext.plugin(*invoke_args, **invoke_kwargs)
[Fri Apr 17 16:25:28.417632 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils   File "/usr/local/lib/python3.6/site-packages/barbican/plugin/dogtag.py", line 192, in __init__
[Fri Apr 17 16:25:28.417653 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils     self.keyclient.set_transport_cert(KRA_TRANSPORT_NICK)
[Fri Apr 17 16:25:28.417658 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils   File "/usr/local/lib/python3.6/site-packages/pki/key.py", line 494, in set_transport_cert
[Fri Apr 17 16:25:28.417661 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils     self.transport_cert = self.crypto.get_cert(transport_cert_nick)
[Fri Apr 17 16:25:28.417665 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils   File "/usr/local/lib/python3.6/site-packages/pki/crypto.py", line 348, in get_cert
[Fri Apr 17 16:25:28.417669 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils     return nss.find_cert_from_nickname(cert_nick)
[Fri Apr 17 16:25:28.417673 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils nss.error.NSPRError: (SEC_ERROR_BAD_DATABASE) security library: bad database.
[Fri Apr 17 16:25:28.417679 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.415 23656 ERROR barbican.plugin.util.utils \x1b[00m
[Fri Apr 17 16:25:28.417686 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 
[Fri Apr 17 16:25:28.429710 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils [req-4c062a82-81ee-4245-9b43-6f95843c7024 ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Problem seen creating plugin: 'dogtag_crypto': nss.error.NSPRError: (SEC_ERROR_BAD_DATABASE) security library: bad database.
[Fri Apr 17 16:25:28.429732 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils Traceback (most recent call last):
[Fri Apr 17 16:25:28.429737 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils   File "/usr/local/lib/python3.6/site-packages/barbican/plugin/util/utils.py", line 41, in instantiate_plugins
[Fri Apr 17 16:25:28.429741 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils     plugin_instance = ext.plugin(*invoke_args, **invoke_kwargs)
[Fri Apr 17 16:25:28.429744 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils   File "/usr/local/lib/python3.6/site-packages/barbican/plugin/dogtag.py", line 192, in __init__
[Fri Apr 17 16:25:28.429748 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils     self.keyclient.set_transport_cert(KRA_TRANSPORT_NICK)
[Fri Apr 17 16:25:28.429752 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils   File "/usr/local/lib/python3.6/site-packages/pki/key.py", line 494, in set_transport_cert
[Fri Apr 17 16:25:28.429755 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils     self.transport_cert = self.crypto.get_cert(transport_cert_nick)
[Fri Apr 17 16:25:28.429759 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils   File "/usr/local/lib/python3.6/site-packages/pki/crypto.py", line 348, in get_cert
[Fri Apr 17 16:25:28.429763 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils     return nss.find_cert_from_nickname(cert_nick)
[Fri Apr 17 16:25:28.429766 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils nss.error.NSPRError: (SEC_ERROR_BAD_DATABASE) security library: bad database.
[Fri Apr 17 16:25:28.429779 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.429 23656 ERROR barbican.plugin.util.utils \x1b[00m
[Fri Apr 17 16:25:28.429794 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 
[Fri Apr 17 16:25:28.431223 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers [req-4c062a82-81ee-4245-9b43-6f95843c7024 ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Secret creation issue seen - Secret store supported plugin not found..: barbican.plugin.interface.secret_store.SecretStoreSupportedPluginNotFound: Could not find a secret store plugin for storing secret with algorithm 'aes' and bit-length '128'.
[Fri Apr 17 16:25:28.431241 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers Traceback (most recent call last):
[Fri Apr 17 16:25:28.431263 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/__init__.py", line 101, in handler
[Fri Apr 17 16:25:28.431267 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
[Fri Apr 17 16:25:28.431271 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/__init__.py", line 87, in enforcer
[Fri Apr 17 16:25:28.431275 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
[Fri Apr 17 16:25:28.431278 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/__init__.py", line 149, in content_types_enforcer
[Fri Apr 17 16:25:28.431282 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
[Fri Apr 17 16:25:28.431294 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/api/controllers/secrets.py", line 458, in on_post
[Fri Apr 17 16:25:28.431298 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers     transport_key_id=data.get('transport_key_id'))
[Fri Apr 17 16:25:28.431302 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/plugin/resources.py", line 100, in store_secret
[Fri Apr 17 16:25:28.431306 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers     project_id=project_model.id)
[Fri Apr 17 16:25:28.431309 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/plugin/interface/secret_store.py", line 552, in _check_plugins_configured
[Fri Apr 17 16:25:28.431313 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers     return plugin_related_function(self, *args, **kwargs)
[Fri Apr 17 16:25:28.431317 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers   File "/usr/local/lib/python3.6/site-packages/barbican/plugin/interface/secret_store.py", line 605, in get_plugin_store
[Fri Apr 17 16:25:28.431320 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers     raise SecretStoreSupportedPluginNotFound(key_spec)
[Fri Apr 17 16:25:28.431330 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers barbican.plugin.interface.secret_store.SecretStoreSupportedPluginNotFound: Could not find a secret store plugin for storing secret with algorithm 'aes' and bit-length '128'.
[Fri Apr 17 16:25:28.431335 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.430 23656 ERROR barbican.api.controllers \x1b[00m
[Fri Apr 17 16:25:28.431342 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 
[Fri Apr 17 16:25:28.433302 2020] [wsgi:error] [pid 23656] [remote 10.2.30.90:50608] 2020-04-17 16:25:28.433 23656 INFO barbican.api.middleware.context [req-4c062a82-81ee-4245-9b43-6f95843c7024 ca0816a1f8eb4497b2d72e123698c266 ba6f2b182bed4d86aa38fcd62bab2bbe - default default] Processed request: 400 Bad Request - POST http://dc1-ctl-001.wildcardcorp.lan:9311/v1/secrets/\x1b[00m

There is a password error that does occur, but it has been manually tested against the nssdb and changed and still the error occurs.