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


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to Find List of MQ and Websphere certificates that are installed on Linux and UNIX servers?
# 1  
Old 07-01-2015
Linux 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
# 2  
Old 07-01-2015
Did you consider using grep -r (if that option is available on your system)?
# 3  
Old 07-02-2015
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
# 4  
Old 07-02-2015
You could try using file and checking if each file found appears to be a cert store of some kind, then using openssl to actually read it.
This User Gave Thanks to CarloM For This Post:
# 5  
Old 07-02-2015
Really Very helpful command.. Never used it before but it will be very useful.. Thanks much for your suggestion..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies

2. Shell Programming and Scripting

Script to find Error: rpmdb open failed on list of servers

Hello all, I have a task to patch red hat servers and some servers have a corrupted rpm database and return the error: Error: rpmdb open failed I know how to fix this when it occurs. What I'm hoping to do is scan a list of servers by IP and report back which server have this error. ... (6 Replies)
Discussion started by: greavette
6 Replies

3. UNIX for Dummies Questions & Answers

How to check Which Servers are using a particular certificate in Websphere?

Hi Team, I understand that this query does not involve Unix exactly, but can anyone give me pointers as to know which Servers host a particular certificate i.e xyz.intra.com . The Development team has left long back and we have no idea how to ascertain on which servers the certificate is hosted... (1 Reply)
Discussion started by: srkmish
1 Replies

4. UNIX for Dummies Questions & Answers

How to check if an application has been installed on a unix/linux box?

hi, guys, now I face a problem. I have developed an application, and when it starts, it shall check if an application has been installed on the running linux/unix. If result is positive, i do something with the application command. just as an example: I want to check if sshd has been... (3 Replies)
Discussion started by: sk1418
3 Replies

5. Shell Programming and Scripting

How to find out list of all proccess which are running on unix servers from last two days.

Hi All, I have a requirment, i need to get the list of all the process which are running from last two days on my unix server and also to put this list into an another file. i am giving you a sample example : $ ps -ef UID PID PPID C STIME TTY TIME CMD (1 Reply)
Discussion started by: akshu.agni
1 Replies

6. Shell Programming and Scripting

Script to check if SQLLDR has been installed on Unix/Aix servers

How can i check if sqlldr has been installed on my AIX/UNIX mechine? Is there any unix script to check this one out.... (0 Replies)
Discussion started by: msrahman
0 Replies

7. UNIX for Advanced & Expert Users

command to find when Linux OS is installed?

hey , Anyone knows command to find when Linux OS is installed? Date and time? (2 Replies)
Discussion started by: crackthehit007
2 Replies

8. Ubuntu

list the softwares installed in Linux

I need list of 3rd party softwares installed in a Unix server (eg: Fedora / RedHat). I know if they are system supported format (like rpm format for fedora/redhat, pkg format for debian/ubuntu etc) we can list them by system specific commands ($ rpm -qa). But how to list the softwares installed... (3 Replies)
Discussion started by: uday123
3 Replies

9. Shell Programming and Scripting

How to Find JRE installed in linux machine..?

Hi all, Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue... Thanks (3 Replies)
Discussion started by: XivaX
3 Replies

10. UNIX for Dummies Questions & Answers

How to find how many CPU installed in the servers

We are using HP unix how to find out how many number of CPU's in the system. (7 Replies)
Discussion started by: salaathi
7 Replies
Login or Register to Ask a Question