Prerequisites:
To list certificates in an NSS database, execute the commands below, replacing NSS_DIR with the correct value.
NSS_DIR
NSS_DIR='NSS_DIR' certutil \ -L \ -d "${NSS_DIR}"