mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 12:58:38 +00:00
26 lines
671 B
Plaintext
26 lines
671 B
Plaintext
---
|
|
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`
|