#126 Fix handling of NSS tokens
Merged by rcritten. Opened by rcritten.
rcritten/certmonger nomoddb  into  master

Fix handling of NSS tokens. The database was opened NOMODDB so not all tokens were visible to certmonger so it couldn't always find certificates associated with those tokens (keys too).

There are some places where permission testing is done to ensure the database can be opened both for perms and SELinux reasons. Leave that with NOMODDB and re-open if necessary.

Also use slot:nickname when comparing to see if the right certificate is found.

rebased onto da4dcf4ba71f0457c9dd311979325cd772753b1d

rebased onto ba6ae1bd256bad86121378ba4b3b1b302dc9e55a

rebased onto 59df833ca5fb80c596df621a24dc461a550dba71

Reporter successfully tested this, merging.

Pull-Request has been merged by rcritten