Refs #15538: Check for nssdb cert as the beginning of a line (#92)
When using something short and non-specific like 'ca' to grep thenssdb output, other words in the nssdb can pass the test. For example,
[root@sat-r220-02 ~]# certutil -L -d /etc/pki/katello/nssdb
Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI
amqp-client ,,broker u,u,u
The 'ca' in 'Certificate Nickname' passes the 'grep ca' test.
Refs #15538: Check for nssdb cert as the beginning of a line (#92)
When using something short and non-specific like 'ca' to grep the
nssdb output, other words in the nssdb can pass the test. For example,
[root@sat-r220-02 ~]# certutil -L -d /etc/pki/katello/nssdb
Certificate Nickname Trust Attributes
SSL,S/MIME,JAR/XPI
amqp-client ,,
broker u,u,u
The 'ca' in 'Certificate Nickname' passes the 'grep ca' test.