Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • master
1 result

Target

Select target project
  • smartdatalab/public/ca
  • diego.rosado/ca
2 results
Select Git revision
  • master
1 result
Show changes

Commits on Source 4

......@@ -12,7 +12,7 @@ In windows we can use the cmd or powershell.
#### cmd
To enter into the cmd, press windows key + r, write cmd, and press enter. That will open the cmd console. Write the following commands to install this certificate. Adding certificate this way will make it valid in chrome, edge and internet explorer.
<pre>
set CA_RAW_URL=https://git.code.tecnalia.com/smartdatalab/ca/-/raw/master/ca.crt.pem
set CA_RAW_URL=https://git.code.tecnalia.com/smartdatalab/public/ca/-/raw/master/ca.crt.pem
set CA_FILE_PATH=%TEMP%\ca.crt.pem
echo download ca from %CA_RAW_URL% to %CA_FILE_PATH%
powershell -command "$cli = New-Object System.Net.WebClient; $cli.DownloadFile('%CA_RAW_URL%', '%CA_FILE_PATH%')"
......@@ -23,7 +23,21 @@ 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/public/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
[ -f $CA_FILE_PATH ] && echo "File exist" || echo "File does not exist"
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
......