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

update install certificate linux

parent f13c3003
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,24 @@ certutil -addstore -user -f "Root" "%CA_FILE_PATH%"
</pre>
### Linux
To be provided
In linux we can use terminal.
#### cmd
To enter into the terminal, press ctrl + alt + t. That will open the terminal console. Write the following commands to install this certificate. Adding certificate this way will make it valid in chrome, and firefox.
<pre>
export CA_RAW_URL=https://git.code.tecnalia.com/smartdatalab/ca/-/raw/master/ca.crt.pem
export TEMP_PATH=$(mktemp -d)
export CA_FILE_PATH=$TEMP_PATH/ca.crt.pem
echo download ca from $CA_RAW_URL to $CA_FILE_PATH
wget $CA_RAW_URL -O $CA_FILE_PATH
echo check downloaded ca
if [[ -f $CA_FILE_PATH ]]
then
echo $CA_FILE_PATH exists.
fi
echo add ca to the certificate store
sudo cp $CA_FILE_PATH /usr/local/share/ca-certificates/ca.crt.crt
sudo update-ca-certificates
</pre>
## How to create certificates based on it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment