**** conclusion ****
I put in my .profile
export SSL_CERT_FILE=/u/c06u/opt_cst/sf-bundle.crt
I would recommend you setup a common location for the cert bundles and then each person running the script will have to include this in the .profile
Here are the entire list of environment variables. We installed it using the same directory structure Rocket used:
export _BPXK_AUTOCVT=ON
export PATH=$PATH:/usr_local/bin;
#Python
export INSTALL=/rsusr/rocket
export RELEASE_NAME=python-2.7.13-anaconda-2017-04-12
export RELEASE_TYPE=py27
export RELEASE_DIR=$INSTALL/$RELEASE_NAME
export PYTHON_ENV=python27
export PYTHON_HOME=$RELEASE_DIR/$PYTHON_ENV
export PATH=$PYTHON_HOME/bin:$PATH
export LIBPATH=$PYTHON_HOME/lib:$LIBPATH
export FFI_LIB=$PYTHON_HOME/lib/ffi
export TERMINFO=$PYTHON_HOME/share/terminfo
export PKG_CONFIG_PATH=$PYTHON_HOME/lib/pkgconfig:$PYTHON_HOME/share/pkg
export CURL_CA_BUNDLE=$PYTHON_HOME/etc/ssl/cacert.pem
export SSL_CERT_FILE=/u/c06u/opt_cst/sf-bundle.crt
#Openssl
export PATH=$PATH:/rsusr/rocket/python-2.7.13-anaconda-2017-04-12/pkgs/o
export MANPATH=$MANPATH:/rsusr/rocket/ssl/man
export OPENSSL_CONF=/rsusr/rocket/python-2.7.13-anaconda-2017-04-12/pkgs
#bash
export PATH=$PATH:/rsusr/rocket/bin
export MANPATH=$MANPATH:/rsusr/rocket/man/
export _CEE_RUNOPTS=“FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)”
export _BPXK_AUTOCVT=ON
export _TAG_REDIR_ERR=txt
export _TAG_REDIR_IN=txt
export _TAG_REDIR_OUT=txt
#Perl
export PATH=$PATH:/rsusr/rocket/bin
export MANPATH=$MANPATH:/rsusr/rocket/man/
export PERL5LIB=$PERL5LIB:/rsusr/rocket/lib/perl5
export LIBPATH=$LIBPATH:/rsusr/rocket/lib/perl5/5.24.0/os390/CORE
Additionally I would recommend the following to display the directory path you are working on.
export PS1=’$LOGNAME’:’$PWD’:’ >’
This has been a long and difficult path. I wish the forum was more active and could have found some help form someone. I posted all these steps for others. I really hope it could help all mainframe shops to integrate with open systems. Have python, perl… makes the mainframe even more approachable.
I don’t think these forums are being monitored the Rocket Open Source team as posted in the forum description * Monitored by the Rocket Open Source team!!
https://www.rocketsoftware.com/zos-open-source-tools-support