How to Find List of MQ and Websphere certificates that are installed on Linux and UNIX servers?

Dear All,

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.

any kind of help will be much appreciated. Thanks

Regards
Sid

Did you consider using grep -r (if that option is available on your system)?

Thanks Rudi for your quick response on looking into it.

Yes grep -R does work in the system but I need to use either openssl or keytool commands to read these certificate files every time manually.

I just want to find the list of file names on a server.

Regards
Sid

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.

1 Like

Really Very helpful command.. Never used it before but it will be very useful.. Thanks much for your suggestion..