Skip to content
Snippets Groups Projects
Commit 02d10dca authored by Rosado Ortiz de Zarate, Diego's avatar Rosado Ortiz de Zarate, Diego
Browse files

Update README.md

parent 6db94e7f
Branches
Tags
1 merge request!1update install certificate linux
...@@ -33,10 +33,7 @@ export CA_FILE_PATH=$TEMP_PATH/ca.crt.pem ...@@ -33,10 +33,7 @@ export CA_FILE_PATH=$TEMP_PATH/ca.crt.pem
echo download ca from $CA_RAW_URL to $CA_FILE_PATH echo download ca from $CA_RAW_URL to $CA_FILE_PATH
wget $CA_RAW_URL -O $CA_FILE_PATH wget $CA_RAW_URL -O $CA_FILE_PATH
echo check downloaded ca echo check downloaded ca
if [[ -f $CA_FILE_PATH ]] [ -f $CA_FILE_PATH ] && echo "File exist" || echo "File does not exist"
then
echo $CA_FILE_PATH exists.
fi
echo add ca to the certificate store echo add ca to the certificate store
sudo cp $CA_FILE_PATH /usr/local/share/ca-certificates/ca.crt.crt sudo cp $CA_FILE_PATH /usr/local/share/ca-certificates/ca.crt.crt
sudo update-ca-certificates sudo update-ca-certificates
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment