Red_Hat_Certificate_System-8.1-Command-Line_Tools_Guide-en-US.pdf

(720 KB) Pobierz
Red Hat Certificate System 8.1 Command-Line Tools Guide
1
Red Hat Certificate System
8.1
Command-Line Tools Guide
a reference guide
Edition 1
Ella Deon Lackey
dlackey@redhat.com
2
Legal Notice
Legal Notice
Copyright © 2012 Red Hat, Inc.
T he text of and illustrations in this document are licensed by Red Hat under a Creative Commons
Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at
http://creativecommons.org/licenses/by-sa/3.0/.
In accordance with CC-BY-SA, if you distribute this
document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section
4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo,
and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus T orvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States
and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other
countries.
All other trademarks are the property of their respective owners.
1801 Varsity Drive
Raleigh, NC 27606-2072 USA
Phone: +1 919 754 3700
Phone: 888 733 4281
Fax: +1 919 754 3701
January 31, 2012
Red Hat Certificate System 8.1 Command-Line Tools Guide
3
Abstract
T his book covers important, Certificate System-specific, command-line tools that you can use to create,
remove, and manage subsystem instances and to create and manage keys and certificates.
4
Table of Contents
Table of Contents
About T his Guide
1. Required Concepts
2. What Is in T his Guide
3. Common T ool Information
4. Examples and Formatting
4.1. Formatting for Examples and Commands
4.2. T ool Locations
4.3. Guide Formatting
5. Additional Reading
6. Giving Feedback
7. Document History
1. pkicreate, pkisilent, and pkiremove (Create and Remove Instance T ools)
1.1. pkicreate
1.1.1. Syntax
1.1.2. Usage
1.2. pkisilent
1.2.1. Syntax
1.2.2. Usage
1.3. pkiremove
1.3.1. Syntax
1.3.2. Usage
2. T okenInfo (Managing External Hardware T okens)
2.1. Syntax
3. sslget (Downloading Files over HT T PS)
3.1. Syntax
3.2. Usage
4. AuditVerify (Audit Log Verification)
4.1. Setting up the Auditor's Database
4.2. Syntax
4.3. Return Values
4.4. Usage
4.5. Results
5. setpin (Generating Unique PINs for Entities)
5.1. T he setpin Command
5.1.1. Editing the setpin.conf Configuration File
5.1.2. Syntax
5.1.3. Usage
5.2. How setpin Works
5.2.1. Input File
5.2.2. Output File
5.2.3. How PINs Are Stored in the Directory
5.2.4. Exit Codes
6. AtoB (Converting ASCII to Binary)
6.1. Syntax
6.2. Usage
Red Hat Certificate System 8.1 Command-Line Tools Guide
5
7. BtoA (COnverting Binary to ASCII)
7.1. Syntax
7.2. Usage
8. PrettyPrintCert (Printing Certificates)
8.1. Syntax
8.2. Usage
9. PrettyPrintCrl (Printing Readable CRLs))
9.1. Syntax
9.2. Usage
10. tkstool (Managing T oken Keys)
10.1. Syntax
10.2. Usage
11. CMCRequest (Creating CMC Requests)
11.1. Syntax
11.2. Usage
11.3. Output
12. CMCEnroll (Performing CMC Enrollments)
12.1. Syntax
12.2. Usage
12.3. Output
13. CMCResponse (Parsing a CMC Response)
13.1. Syntax
13.2. Usage and Output
14. CMCRevoke (Signing a Revocation Request)
14.1. Syntax
14.2. T esting CMC Revocation
14.3. Output
15. CRMFPopClient (Sending an Encoded CRMF Request)
15.1. Syntax
15.2. Usage
15.3. Output
16. ExtJoiner (Adding Cerificate Extensions to Requests)
16.1. Syntax
16.2. Usage
17. GenExtKeyUsage (Adding the Key Usage Extension to a Request)
17.1. Syntax
18. GenIssuerAltNameExt (Adding the Issuer Name Extention to a Request)
18.1. Syntax
18.2. Usage
19. SubjectAltNameExt (Adding the Subject Alternative Name Extension to a Request)
19.1. Syntax
19.2. Usage
20. HttpClient (Sends a Request over HT T P)
20.1. Syntax
Zgłoś jeśli naruszono regulamin