Posted on 01-05-2018 01:52 AM
Hi,
is it possible to display the amount of installed certificates in advanced searches?
In the computer overview i can see the amount, but i can not search for it.
I try to monitor the amount of installed certificates to avoid to many installations of it. (see screenshot)
Christian
Posted on 01-05-2018 02:59 AM
Hi Christian,
You could create an ext. attribut and use "certtool y" to count them. Here you also have the option to specify in which keychain to look.
certtool y k=~/Library/Keychains/login.keychain
certtool y k=/Library/Keychains/System.keychain
Use tail, awk or sed to get the second to last line of output, filter the result and set the value as an integer. Now you can create a smart group that notifies you at a specific threshold of your choice.