I am planning to find the list of certificates(WEBshpere/MQ) on a servers.
My certificates are either stored in (.jks) / (.pem)/ (.cer) . But some of the certificates are stored without these file formats. I tried using find command but unless I give the file name its difficult for me to find.
I am not a root user.
Is there any way, I can find the list of certificates by their Certificate Names (CN) ?
I am not asking to provide any scripts but if I will get an idea to find then I will be able to write a script.
You could try using man file ("linux") and checking if each file found appears to be a cert store of some kind, then using openssl to actually read it.