Skip to main content
Jul 13, 2016 1:41 AM UTC

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

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

    Jul 14, 2016 10:53 PM UTC

    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

    Jul 15, 2016 3:30 AM UTC

    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.