Skip to main content

OpenSSL tool WARNING: can't open config file: /rsusr/rocket/ssl/openssl.cnf

  • July 13, 2016
  • 2 replies
  • 3 views

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?

2 replies

  • 0 replies
  • July 14, 2016

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


  • 0 replies
  • July 15, 2016

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.