diff --git a/pages.pt_BR/common/certutil.md b/pages.pt_BR/common/certutil.md new file mode 100644 index 000000000..6a53a6c30 --- /dev/null +++ b/pages.pt_BR/common/certutil.md @@ -0,0 +1,24 @@ +# certutil + +> Gerencie chaves e certificados em bancos de dados e tokens NSS +> Mais informações: . + +- 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}}"` diff --git a/pages/common/certutil.md b/pages/common/certutil.md index a663d21a8..903a0aa86 100644 --- a/pages/common/certutil.md +++ b/pages/common/certutil.md @@ -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}}"`