65002031

Date: 2020-11-25 09:47:06
Score: 4
Natty:
Report link

any luck with finding solution for it? I faced similar issue:

2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils [req-50df71a1-882b-4876-b085-43ae2c55273c 0d63c8861a124f4fbebe4170a9d59e61 175e079b3aef47a38da16d125863fd9d - default default] Problem seen creating plugin: 'dogtag_crypto': nss.error.NSPRError: (SEC_ERROR_BAD_DATABASE) security library: bad database.
2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils Traceback (most recent call last):
2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils   File "/usr/lib/python3/dist-packages/barbican/plugin/util/utils.py", line 41, in instantiate_plugins
2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils     plugin_instance = ext.plugin(*invoke_args, **invoke_kwargs)
2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils   File "/usr/lib/python3/dist-packages/barbican/plugin/dogtag.py", line 193, in __init__
2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils     self.keyclient.set_transport_cert(KRA_TRANSPORT_NICK)
2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils   File "/usr/lib/python3/dist-packages/pki/key.py", line 490, in set_transport_cert
2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils     self.transport_cert = self.crypto.get_cert(transport_cert_nick)
2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils   File "/usr/lib/python3/dist-packages/pki/crypto.py", line 351, in get_cert
2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils     return nss.find_cert_from_nickname(cert_nick)
2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils nss.error.NSPRError: (SEC_ERROR_BAD_DATABASE) security library: bad database.
2020-11-25 10:35:12.549 28820 ERROR barbican.plugin.util.utils
2020-11-25 10:35:12.554 28820 DEBUG barbican.plugin.dogtag [req-50df71a1-882b-4876-b085-43ae2c55273c 0d63c8861a124f4fbebe4170a9d59e61 175e079b3aef47a38da16d125863fd9d - default default] starting DogtagKRAPlugin init __init__ /usr/lib/python3/dist-packages/barbican/plugin/dogtag.py:185
2020-11-25 10:35:12.555 28820 INFO barbican.plugin.dogtag [req-50df71a1-882b-4876-b085-43ae2c55273c 0d63c8861a124f4fbebe4170a9d59e61 175e079b3aef47a38da16d125863fd9d - default default] JW-check1
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils [req-50df71a1-882b-4876-b085-43ae2c55273c 0d63c8861a124f4fbebe4170a9d59e61 175e079b3aef47a38da16d125863fd9d - default default] Problem seen creating plugin: 'dogtag_crypto': nss.error.NSPRError: (SEC_ERROR_BAD_DATABASE) security library: bad database.
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils Traceback (most recent call last):
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils   File "/usr/lib/python3/dist-packages/barbican/plugin/util/utils.py", line 41, in instantiate_plugins
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils     plugin_instance = ext.plugin(*invoke_args, **invoke_kwargs)
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils   File "/usr/lib/python3/dist-packages/barbican/plugin/dogtag.py", line 193, in __init__
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils     self.keyclient.set_transport_cert(KRA_TRANSPORT_NICK)
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils   File "/usr/lib/python3/dist-packages/pki/key.py", line 490, in set_transport_cert
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils     self.transport_cert = self.crypto.get_cert(transport_cert_nick)
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils   File "/usr/lib/python3/dist-packages/pki/crypto.py", line 351, in get_cert
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils     return nss.find_cert_from_nickname(cert_nick)
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils nss.error.NSPRError: (SEC_ERROR_BAD_DATABASE) security library: bad database.
2020-11-25 10:35:14.117 28820 ERROR barbican.plugin.util.utils
2020-11-25 10:35:14.119 28820 ERROR barbican.api.controllers [req-50df71a1-882b-4876-b085-43ae2c55273c 0d63c8861a124f4fbebe4170a9d59e61 175e079b3aef47a38da16d125863fd9d - 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 '256'.
2020-11-25 10:35:14.119 28820 ERROR barbican.api.controllers Traceback (most recent call last):
2020-11-25 10:35:14.119 28820 ERROR barbican.api.controllers   File "/usr/lib/python3/dist-packages/barbican/api/controllers/__init__.py", line 101, in handler
2020-11-25 10:35:14.119 28820 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
2020-11-25 10:35:14.119 28820 ERROR barbican.api.controllers   File "/usr/lib/python3/dist-packages/barbican/api/controllers/__init__.py", line 87, in enforcer
2020-11-25 10:35:14.119 28820 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
2020-11-25 10:35:14.119 28820 ERROR barbican.api.controllers   File "/usr/lib/python3/dist-packages/barbican/api/controllers/__init__.py", line 149, in content_types_enforcer
2020-11-25 10:35:14.119 28820 ERROR barbican.api.controllers     return fn(inst, *args, **kwargs)
2020-11-25 10:35:14.119 28820 ERROR barbican.api.controllers   File "/usr/lib/python3/dist-packages/barbican/api/controllers/secrets.py", line 445, in on_post
2020-11-25 10:35:14.119 28820 ERROR barbican.api.controllers     transport_key_id=data.get('transport_key_id'))
2020-11-25 10:35:14.119 28820 ERROR barbican.api.controllers   File "/usr/lib/python3/dist-packages/barbican/plugin/resources.py", line 100, in store_secret

That is why I'm asking. Thanks in advance for sharing your answer!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): any luck
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jan Wasilewski