Open-source Languages & Tools for z/OS

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

    Posted 07-13-2016 01:41

    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.  RE: OpenSSL tool WARNING: can't open config file: /rsusr/rocket/ssl/openssl.cnf

    Posted 07-14-2016 22:53

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



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

    Posted 07-15-2016 03:30

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