07-13-2017
MQ Queue Manager SSL Checking Script
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.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Can someone explain the difference between the two. Thanks (1 Reply)
Discussion started by: jerardfjay
1 Replies
2. Shell Programming and Scripting
Dear Gurus,
I have an application that sends me thousands of small files.
I need to write a script that sleeps for some time untile enough files have arrived then concatenate (n) files into 1 big file, then send that big file to a program to process it.
For example, if I have the following... (2 Replies)
Discussion started by: GMMike
2 Replies
3. UNIX for Advanced & Expert Users
Hello,
I want to automate the process of importing a SSL certificate name *.cer to cacerts through perl script. both the certificates belong to same folder.
The usual way of doing it is by executing the below command which imports the key name certnew.cer to cacerts in the same folder.
... (4 Replies)
Discussion started by: m_kk
4 Replies
4. UNIX for Dummies Questions & Answers
i have configured Squid proxy server in Fedora 8 with two network interfaces.
HTTP, HTTPS, FTP are working fine but we are unable to download mails using mail clients from mail server with POP3(ssl) and SMTP(ssl).
so please someone help us how to enable pop and smtp in Squid. (1 Reply)
Discussion started by: praneel2k
1 Replies
5. Web Development
I have interesting problem.
https:/host/some/x.cgi
- this script has run twice when I call this url
But
http:/host/some/x.cgi
work fine, only once.
Output is text/plain.
If I change output format to the Content-type text/html,
then both urls works fine - executed only once. (2 Replies)
Discussion started by: kshji
2 Replies
6. Shell Programming and Scripting
Dear community,
what I'm try to do is deny users to run a script without parameters from command bash, but the same script should run without parameters only from crontab.
Example runs by crontab:*/5 * * * * /tmp/script.sh
Here the normal execution starts every 5 minutes
Example #1 runs by... (16 Replies)
Discussion started by: Lord Spectre
16 Replies
7. Shell Programming and Scripting
Hi,
I am trying to find the script which will ask for SSL Cert and Key file name/path. The output of both should be matched and compared. If the output are same than the script final output should be Certificate Matches and if it doesn't than Output don't match.
Is there any way we can create... (0 Replies)
Discussion started by: SachinD
0 Replies
8. Shell Programming and Scripting
Hello All,
I am completely new to shell scripting. I had to write a script that starts and stop the queue manager in Websphere MQ. We are on Linux 64-bit patform.
The script should stop the queue manager and all the processes related to websphere MQ. It should be a clean stop. Once the queue... (3 Replies)
Discussion started by: pady1224
3 Replies
9. Linux
Issue observed: I have configured ng.my-site.com using widlcard ssl cert. When I hit https://www.my-site.com it loads ng.my-site.com website!
please advise if I missed any concept / configs... Thank you!
httpd.conf
<VirtualHost *:80>
ServerName www.my-site.com
ServerAdmin... (0 Replies)
Discussion started by: ashokvpp
0 Replies
10. AIX
Anyone have any procedures or tutorials on how to change the self-signed certificate on the IBM AIX VIOS Intergrated Virtulization Manager web site?
I've googled till my fingers broke and most links take me to generic replacements for IBM products that I don't have.
Any help is appreciated.... (3 Replies)
Discussion started by: JAY2068
3 Replies
LEARN ABOUT MOJAVE
ssl_new
SSL_new(3SSL) OpenSSL SSL_new(3SSL)
NAME
SSL_new - create a new SSL structure for a connection
SYNOPSIS
#include <openssl/ssl.h>
SSL *SSL_new(SSL_CTX *ctx);
DESCRIPTION
SSL_new() creates a new SSL structure which is needed to hold the data for a TLS/SSL connection. The new structure inherits the settings of
the underlying context ctx: connection method (SSLv2/v3/TLSv1), options, verification settings, timeout settings.
RETURN VALUES
The following return values can occur:
NULL
The creation of a new SSL structure failed. Check the error stack to find out the reason.
Pointer to an SSL structure
The return value points to an allocated SSL structure.
SEE ALSO
SSL_free(3), SSL_clear(3), SSL_CTX_set_options(3), SSL_get_SSL_CTX(3), ssl(3)
1.0.1e 2013-02-11 SSL_new(3SSL)