commit 23ccbd4a159c786b3e0357c20f0ee7678a2478b8
parent dc510ebe1769c8c221bd3c7552a2dfafd6a5ccd3
Author: Anders Damsgaard <andersd@riseup.net>
Date: Tue, 27 Feb 2018 10:32:17 -0500
Manually specify CA certificate path as CURL environment variable for GFDL workstations
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/links/.bashrc b/links/.bashrc
@@ -210,3 +210,4 @@ export GPG_TTY=`tty`
[ -f $MODULESHOME/init/bash ] && source $MODULESHOME/init/bash
[ -d /net/and/anaconda3/bin ] && export PATH="/net/and/anaconda3/bin:$PATH"
+[ -f /etc/pki/tls/certs/ca-bundle.crt ] && export CURL_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt
diff --git a/links/.zshrc b/links/.zshrc
@@ -339,6 +339,7 @@ if [ -f /usr/local/Modules/default/init/zsh ]; then
module load git vim paraview ifort python/2.7.1
fi
[ -d /net/and/anaconda3/bin ] && export PATH="/net/and/anaconda3/bin:$PATH"
+[ -f /etc/pki/tls/certs/ca-bundle.crt ] && export CURL_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt
[ -d ~/code/basilisk/src ] && export BASILISK=~/code/basilisk/src
[ -d ~/code/basilisk/src ] && export PATH=~/code/basilisk/src:$PATH