1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-01 11:35:30 +02:00

certutil: add page (#11027)

This commit is contained in:
Anurag Kumar 2023-10-17 12:10:12 +05:30 committed by GitHub
parent c4513061eb
commit 3ada648cc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
pages/windows/certutil.md Normal file
View 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}}`