mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-05 11:55:44 +02:00
certutil: add page (#11027)
This commit is contained in:
parent
c4513061eb
commit
3ada648cc5
1 changed files with 24 additions and 0 deletions
24
pages/windows/certutil.md
Normal file
24
pages/windows/certutil.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# certutil
|
||||||
|
|
||||||
|
> A tool to manage and configure certificate information.
|
||||||
|
> More information: <https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/certutil>.
|
||||||
|
|
||||||
|
- Dump the configuration information or files:
|
||||||
|
|
||||||
|
`certutil {{filename}}`
|
||||||
|
|
||||||
|
- Encode a file in hexadecimal:
|
||||||
|
|
||||||
|
`certutil -encodehex {{path\to\input_file}} {{path\to\output_file}}`
|
||||||
|
|
||||||
|
- Encode a file to Base64:
|
||||||
|
|
||||||
|
`certutil -encode {{path\to\input_file}} {{path\to\output_file}}`
|
||||||
|
|
||||||
|
- Decode a Base64-encoded file:
|
||||||
|
|
||||||
|
`certutil -decode {{path\to\input_file}} {{path\to\output_file}}`
|
||||||
|
|
||||||
|
- Generate and display a cryptographic hash over a file:
|
||||||
|
|
||||||
|
`certutil -hashfile {{path\to\input_file}} {{md2|md4|md5|sha1|sha256|sha384|sha512}}`
|
Loading…
Add table
Reference in a new issue