Skip to main content

I’ve just installed the OpenSSL tool and am running a BPXBATCH job to display the version information using the following command:
openssl version

It works, in that it displays this message: OpenSSL 1.0.2h 3 May 2016
however on the next line it also produces this message:
WARNING: can’t open config file: /rsusr/rocket/ssl/openssl.cnf

In my case the tool is installed into a directory called /usr/local/Rocket/ported/openssl

I can’t work out why the version command is trying to open /rsusr/rocket/ssl (which doesn’t exist on my system)

Any ideas what I have done wrong or haven’t done?

I’ve just installed the OpenSSL tool and am running a BPXBATCH job to display the version information using the following command:
openssl version

It works, in that it displays this message: OpenSSL 1.0.2h 3 May 2016
however on the next line it also produces this message:
WARNING: can’t open config file: /rsusr/rocket/ssl/openssl.cnf

In my case the tool is installed into a directory called /usr/local/Rocket/ported/openssl

I can’t work out why the version command is trying to open /rsusr/rocket/ssl (which doesn’t exist on my system)

Any ideas what I have done wrong or haven’t done?

I believe I’ve worked it out myself:
export OPENSSL_CONF=/usr/local/Rocket/ported/openssl/ssl/openssl.cnf


I believe I’ve worked it out myself:
export OPENSSL_CONF=/usr/local/Rocket/ported/openssl/ssl/openssl.cnf

You are rigth you may use OPENSSL_CONF variable or option “-config” in openssl commands to setup openssl.cnf path.