Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
ca
Merge requests
!1
update install certificate linux
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
update install certificate linux
diego.rosado/ca:diego.rosado-master-patch-65483
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Rosado Ortiz de Zarate, Diego
requested to merge
diego.rosado/ca:diego.rosado-master-patch-65483
into
master
3 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
commands to install linux certs.
0
0
Merge request reports
Compare
master
version 1
6db94e7f
3 years ago
master (base)
and
latest version
latest version
02d10dca
2 commits,
3 years ago
version 1
6db94e7f
1 commit,
3 years ago
1 file
+
15
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
README.md
+
15
−
1
View file @ 02d10dca
Edit in single-file editor
Open in Web IDE
Show full file
@@ -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/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
Loading