mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 00:58:48 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/linux/update-ca-certificates
Normal file
25
tldr/linux/update-ca-certificates
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# update-ca-certificates
|
||||
|
||||
> Update the CA certificates bundle and regenerate `/etc/ssl/certs`.
|
||||
> More information: <https://manned.org/update-ca-certificates>.
|
||||
|
||||
- Update certificates:
|
||||
|
||||
`sudo update-ca-certificates`
|
||||
|
||||
- Update certificates in verbose mode:
|
||||
|
||||
`sudo update-ca-certificates {{[-v|--verbose]}}`
|
||||
|
||||
- Perform a fresh update (remove all symlinks and regenerate):
|
||||
|
||||
`sudo update-ca-certificates {{[-f|--fresh]}}`
|
||||
|
||||
- Add a custom certificate (copy it first, then update):
|
||||
|
||||
`sudo cp {{path/to/certificate.crt}} /usr/local/share/ca-certificates/ && sudo update-ca-certificates`
|
||||
Reference in New Issue
Block a user