mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:53:10 +02:00
certutil: fix placeholders (#8668)
This commit is contained in:
parent
36e2f9f0cc
commit
5385806733
2 changed files with 27 additions and 3 deletions
24
pages.pt_BR/common/certutil.md
Normal file
24
pages.pt_BR/common/certutil.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# certutil
|
||||
|
||||
> Gerencie chaves e certificados em bancos de dados e tokens NSS
|
||||
> Mais informações: <https://manned.org/certutil>.
|
||||
|
||||
- Cria um novo banco de dados de certificados:
|
||||
|
||||
`certutil -N -d .`
|
||||
|
||||
- Lista todos os certificados em um banco de dados:
|
||||
|
||||
`certutil -L -d .`
|
||||
|
||||
- Lista todas as chaves privadas em um banco de dados:
|
||||
|
||||
`certutil -K -d . -f {{caminho/para/arquivo_de_senha.txt}}`
|
||||
|
||||
- Importa o certificado assinado para o banco de dados dos solicitantes:
|
||||
|
||||
`certutil -A -n "{{certificado_do_servidor}}" -t ",," -i {{caminho/para/arquivo.crt}} -d .`
|
||||
|
||||
- Adiciona nomes de assunto a um determinado certificado:
|
||||
|
||||
`certutil -S -f {{caminho/para/arquivo_de_senha.txt}} -d . -t ",," -c "{{certificado_do_servidor}}" -n "{{nome_do_servidor}}" -g {{2048}} -s "CN={{nome_comum}},O={{organização}}"`
|
|
@ -13,12 +13,12 @@
|
|||
|
||||
- List all private keys in a database:
|
||||
|
||||
`certutil -K -d . -f {{path/to/pwdfile.txt}}`
|
||||
`certutil -K -d . -f {{path/to/password_file.txt}}`
|
||||
|
||||
- Import the signed certificate into the requesters database:
|
||||
|
||||
`certutil -A -n "{{Server-cert}}" -t ",," -i {{path/to/file.crt}} -d .`
|
||||
`certutil -A -n "{{server_certificate}}" -t ",," -i {{path/to/file.crt}} -d .`
|
||||
|
||||
- Add subject alternative names to a given certificate:
|
||||
|
||||
`certutil -S -f {{path/to/pwdfile.txt}} -d . -t ",," -c "{{Server-Cert}}" -n "{{server1}}" -g {{2048}} -s "CN={{testuser1}},O={{testrelm.test}}"`
|
||||
`certutil -S -f {{path/to/password_file.txt}} -d . -t ",," -c "{{server_certificate}}" -n "{{server_name}}" -g {{2048}} -s "CN={{common_name}},O={{organization}}"`
|
||||
|
|
Loading…
Add table
Reference in a new issue