From 6db94e7f192b7781458620a62b4df9711fa9c7ce Mon Sep 17 00:00:00 2001
From: "Rosado Ortiz de Zarate, Diego" <diego.rosado@tecnalia.com>
Date: Fri, 1 Oct 2021 12:23:26 +0200
Subject: [PATCH] update install certificate linux

---
 README.md | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index e878af1..ba0d154 100644
--- a/README.md
+++ b/README.md
@@ -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
 
-- 
GitLab