Hello everyone,
Newbie to the forum.
I have a requirement for a script to check Queue Manager SSL certificates - However I have no previous scripting skills what so ever. I need a script which from high level point of view does the following:
#For each Queue Manager on the server go to this directory
/var/mqm/qmgrs/QMGR1/ssl
#Create and Run unstash script against the *.sth file to get .kdb password
#execute unstash script then delete unstash script
#List all certs in the .kdb using unstashed password
#For each cert in the .kdb show the details of the cert
#Write output of cert details like common name, serial number, valid from, valid to & sha to a .csv file
I know the commands to individually and manually perform all these steps however like I said I have no previous scripting experience. How and where do I begin to even start scripting something like this?
Any help would be much appreciated.