How can I check if a certificate with a specific serial number already exist in a cert db of a Firefox user profile?
I've so far been using the command below to check it and then parse the output:
certutil.exe -L -d C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>
This is working fine when working with just 1 certificate, but I now need to check multiple certificates where 2 of them unfortunately share the same "Certificate Nickname".
Can I somehow either get the serial number of all installed certificates or query if a certificate with a specified serial number is installed?
I'm using certutil.exe built from nss-3.16.1-with-nspr-4.10.5
Thanks in advance.