NSS DB can't be created with barbican stein
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
barbican (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
During integration barbican with dogtag, I faced an issue that NSS DB is not possible to be created during first request. It seems that file which has to be temporarly created for storing NSS DB password, has some troubles during creation. A part of failing code is: https:/
Specific part of code responsible for fault is: http://
It leads to this error in barbican api logs:
When I made a "dirty hack" which is:
- creation of /etc/barbican/temp file with chmod 777
- add such part of code to crypto.py: http://
This problem is solved. But for me it looks like some kind of issues with python versions, but it's just my guess.
OS and packages details:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
Barbican packages:
ii barbican-api 1:8.0.1-
ii barbican-common 1:8.0.1-
ii barbican-
ii barbican-worker 1:8.0.1-
ii python3-barbican 1:8.0.1-
PKI packages:
ii pki-base 10.6.0-1ubuntu2 all Certificate System - PKI Framework
ii pki-base-java 10.6.0-1ubuntu2 all Certificate System - PKI Framework -- java client support
ii pki-tools 10.6.0-1ubuntu2 amd64 Certificate System - PKI Tools
ii python3-pki-base 10.6.0-1ubuntu2 all Certificate System - PKI Framework -- python3 client support
Status changed to 'Confirmed' because the bug affects multiple users.