Skip to main content

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

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.





Patrik


Reply