Home
> Commands A-M
> Commands Ca-Cg
CERTUTIL encode/decode
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Certutil tasks for encoding and decoding certificates.
Syntax
CERTUTIL
[-encode]
[/?]
To encode a certificate as a base64 file:
To encode a DER-encoded request to a base64-encoded request:
CERTUTIL
-encode
[-f]
[-v]
input_file
output_file
To decode a base64-encoded certificate:
To decode a base64-encoded request to a DER-encoded request:
CERTUTIL
-decode
[-f]
[-v]
input_file
output_file
To encode a certificate as a hexadecimal file:
CERTUTIL
-encodehex
[-f]
[-v]
input_file
output_file
To decode a hexadecimal-encoded file:
CERTUTIL
-decodehex
[-f]
[-v]
input_file
output_file.DER
Parameters
- input_file
(NT2003)
- Specifies the certificate that you want to encode
as a base64/hexadecimal file.
- Specifies the base64-encoded request (.REQ extesion)
file that you want to decode.
- Specifies the DER-encoded request (.DER extension),
which is compatible with Entrust, that you want to
decode.
- output_file
(NT2003)
- Specifies the base64-encoded/hexadecimal file to
which you want to send the certificate information.
- Specifies the base64-encoded request (.REQ extesion)
file that you want to create.
- Specifies the DER-encoded request (.DER extension),
which is compatible with Entrust, that you want to
create.
Switches
- /?
(NT2003)
- Display help.
- -decode
(NT2003)
- Decodes a base64-encoded file.
- -decodehex
(NT2003)
- Decodes a hexadecimal-encoded file.
- -encode
(NT2003)
- Encodes a certificate as a base64 file.
- -encodehex
(NT2003)
- Encodes a certificate as a hexadecimal file.
- -f
(NT2003)
- Overwrites existing files or keys.
- -v
(NT2003)
- Specifies verbose output.
Related
CERTUTIL backup/restore
CERTUTIL configure
CERTUTIL certificates
CERTUTIL CRLs
CERTUTIL manage
CERTUTIL archival/recovery
CERTUTIL troubleshooting
Notes
none.
Examples
none.
Errorlevels
none.
Availability
- External
-
- DOS
-
none
- Windows
-
none
- Windows NT
-
NT2003
Last Updated: 2003/07/28
Direct corrections or suggestions to:
Rick Lively