#256 certmonger behaves badly if /etc/pki/nssdb doesn't exist
Closed: fixed a year ago by rcritten. Opened a year ago by rcritten.

An issue was reported against dogtag where certificates were disappearing during the installation process, https://github.com/dogtagpki/pki/issues/4334

We discovered it was certmonger removing them. It did this because the certificate parsing uses /etc/pki/nssdb to parse certificates and not the database associated with the request.

The reason is that ever openssl code uses the NSS certificate parser, so simply switching to the requested database is not sufficient.

I think we should:
- Improve logging to include the database path when NSS_Init* fails
- Do an existence check on pkcs11.txt and secmod.db


Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #257 Merged a year ago