Red Hat NETSCAPE DIRECTORY SERVER 6.01 Guide d'installation

Naviguer en ligne ou télécharger Guide d'installation pour Serveurs Red Hat NETSCAPE DIRECTORY SERVER 6.01. Red Hat NETSCAPE DIRECTORY SERVER 6.01 Setup guide [en] Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 1 - Command-Line Tools Guide

Command-Line Tools GuideNetscape Certificate Management SystemVersion 6.01May 2002

Page 2

WheretoGoforRelatedInformation10 Netscape Certificate Management System Command-Line Tools Guide • May 2002• []—Square brackets enclose commands that

Page 3 - Contents

Where to Go for Related InformationAbout This Guide 11• <instance_id> is the ID for this instance of Certificate Management System(specified dur

Page 4

WheretoGoforRelatedInformation12 Netscape Certificate Management System Command-Line Tools Guide • May 2002•End-EntityHelpProvides detailed reference

Page 5

13Chapter 1Command-Line ToolsNetscape Certificate Management System (CMS) is bundled with variouscommand-line utilities. This c hapter summarizes thes

Page 6

14 Netscape Certificate Management System Command-Line Tools Guide • May 2002certutil(Certificate and Key Database Tool)View and manipulate the certif

Page 7 - About This Guide

Chapter 1 Command-Line Tools 15The Certificate Database Tool (certutil), Netscape Signing Tool (signtool), SSLDebuggingTool(ssltap), and Security Data

Page 8 - What’s in This Guide

16 Netscape Certificate Management System Command-Line Tools Guide • May 2002If you’re familar with older versions of NSS tools, notice that all Key D

Page 9 - About This Guide 9

17Chapter 2CMS Upgrade UtilityIf you have a previous installation of Netscape Certificate Management System(Certificate Mana gement System), you can u

Page 10

Before Upgrading18 Netscape Certificate Management System Command-Line Tools Guide • May 2002Backing Up Your Previous CMS InstanceYou must backup your

Page 11 - About This Guide 11

Before UpgradingChapter 2 CMS Upgrade Utility 19Creating Your Previous Internal Database File inLDIF FormatAfter locating your previous CMS internal d

Page 12

Netscape Communications Corporation ("Netscape") andits licensors retain all ownership rights to the software programs offered byNetscape (r

Page 13 - Command-Line Tools

Before Upgrading20 Netscape Certificate Management System Command-Line Tools Guide • May 2002The default file name is time stamped and is of the form&

Page 14 - Utility/Tool Function

UpgradingChapter 2 CMS Upgrade Utility 21cd <upgrade_tool>/TxtTo601export SERVER_ROOT=<601_server_root>run.sh <42_txt> > <601_

Page 15

Upgrading22 Netscape Certificate Management System Command-Line Tools Guide • May 2002• Shutting Down the CMS 6.01 Server• Installing the Old Security

Page 16

UpgradingChapter 2 CMS Upgrade Utility 23Installing CMS 4.2 or 4.5 Security DatabasesInstallyourpreviousCMS4.2or4.5securitydatabasesbycopyingthemtoyou

Page 17 - CMS Upgrade Utility

Upgrading24 Netscape Certificate Management System Command-Line Tools Guide • May 2002Installing the Old Internal DatabaseTo install your old internal

Page 18 - Before Upgrading

After UpgradingChapter 2 CMS Upgrade Utility 25./start-slapdcd <601_server_root>/cert-<instance_id>./start-certAfter UpgradingAfter upgrad

Page 19 - LDIF Format

After Upgrading26 Netscape Certificate Management System Command-Line Tools Guide • May 2002

Page 20

27Chapter 3Password Cache UtilityDuring the installation of Netscape Certificate Management System (CMS), theinstallation daemon stores all the passw

Page 21 - Upgrading

Syntax28 Netscape Certificate Management System Command-Line Tools Guide • May 2002SyntaxTo run the utility, execute the following command from the<

Page 22 - ./stop-cert

UsageChapter 3 Password Cache Utility 29• Changing the password associated with an entry• Deleting an entry in the cacheThe sections that follow expla

Page 23

3ContentsAboutThisGuide... 7WhatYouShouldAlreadyKnow ...

Page 24

Usage30 Netscape Certificate Management System Command-Line Tools Guide • May 20023. At the prompt, enter the command below, substituting the variable

Page 25 - After Upgrading

UsageChapter 3 Password Cache Utility 31Deleting an Entry From the Password CacheTo delete an entry from the cache:1. Open a command window.2. Go to t

Page 26

Usage32 Netscape Certificate Management System Command-Line Tools Guide • May 2002

Page 27 - Password Cache Utility

33Chapter 4PIN Generator ToolFor Netscape Certificate Management System (CMS) to use the authenticationplug-in module namedUidPwdPinDirAuth your authe

Page 28

The setpin Command34 Netscape Certificate Management System Command-Line Tools Guide • May 2002The setpin CommandYou run the PIN Generator by entering

Page 29

The setpin CommandChapter 4 PIN Generator Tool 35• ["binddn=<user_id>" bindpw=<bind_password>]<user_id> specifies the user

Page 30 - Password Cache

The setpin Command36 Netscape Certificate Management System Command-Line Tools Guide • May 2002• [gen=RNG-alpha | RNG-alphanum | RNG-printableascii]Us

Page 31

The setpin CommandChapter 4 PIN Generator Tool 37For example, if you want to check PINs—that the PINs are being given to thecorrect users and that the

Page 32

How the Tool Works38 Netscape Certificate Management System Command-Line Tools Guide • May 2002How the Tool WorksThe Pin Generator allows you to gener

Page 33 - PIN Generator Tool

How the Tool WorksChapter 4 PIN Generator Tool 39Figure 4-1 Using an input and output file for the PIN-generation processExamples of output follow :Pr

Page 34 - The setpin Command

4 Netscape Certificate Management System Command-Line Tools Guide • May 2002StartingUptheCMS6.01Server...

Page 35

How the Tool Works40 Netscape Certificate Management System Command-Line Tools Guide • May 2002The output also contains the status of each entry in th

Page 36

How the Tool WorksChapter 4 PIN Generator Tool 41• Assume that you have set PINs for all entries in the user directory. Two newusers joined your organ

Page 37

How the Tool Works42 Netscape Certificate Management System Command-Line Tools Guide • May 2002Output FileThe PIN Generator can capture the output to

Page 38 - How the Tool Works

How the Tool WorksChapter 4 PIN Generator Tool 43How PINs Are Stored in the DirectoryEach PIN is concatenated with the corresponding user's LDAP

Page 39

How the Tool Works44 Netscape Certificate Management System Command-Line Tools Guide • May 20027 Indicates an error parsing command-line arguments.8 I

Page 40 - Input File

45Chapter 5Extension Joiner ToolNetscape Certificate Management System (CMS) provi des many policy plug-inmodules that enable you to add standard and

Page 41

Location46 Netscape Certificate Management System Command-Line Tools Guide • May 2002LocationThe ExtJoiner program is located with the rest o f the co

Page 42 - Output File

UsageChapter 5 Extension Joiner Tool 473. Verify that the extensions are joined correctly before adding them to acertificate request. To do this, firs

Page 43 - Exit Codes

Usage48 Netscape Certificate Management System Command-Line Tools Guide • May 2002

Page 44 - Exit code Description

49Chapter 6Backing Up and Restoring DataThis chapterexplains howtoback uptheNetscape Certificate Management System(CMS) data and configuration informa

Page 45 - Extension Joiner Tool

5Chapter 7 ASCIItoBinaryTool... 61Location...

Page 46 - Location

Backing Up Data50 Netscape Certificate Management System Command-Line Tools Guide • May 2002The backup a nd restore tools are simple Perl scripts; mos

Page 47

Backing Up DataChapter 6 Backing Up and Restoring Data 51• Copies non-CMS certificate and key databases and shared files• Copies files required to con

Page 48

Backing Up Data52 Netscape Certificate Management System Command-Line Tools Guide • May 2002These CMS global and local class files are Java classes fo

Page 49 - Backing Up and Restoring Data

Backing Up DataChapter 6 Backing Up and Restoring Data 53What the Backup Tool Does Not DoThe cmsbackup script backs up only configuration and data rel

Page 50 - BackingUpData

Backing Up Data54 Netscape Certificate Management System Command-Line Tools Guide • May 2002• There is pl enty of disk space in the output di rectory;

Page 51 - Backing Up Data

Restoring DataChapter 6 Backing Up and Restoring Data 55Move the zip archive to another machine or removable medium. If possible,encrypt the archive (

Page 52

Restoring Data56 Netscape Certificate Management System Command-Line Tools Guide • May 2002You cannot restore data to a CMS instance that has not been

Page 53 - Running the Backup Tool

Restoring DataChapter 6 Backing Up and Restoring Data 57Running the Restore ToolTo run cmsrestore:1. Log in to the machine where the CMS instance you

Page 54 - After You Finish a Backup

Restoring Data58 Netscape Certificate Management System Command-Line Tools Guide • May 2002If you answer no, no Administration Server data will be res

Page 55 - Restoring Data

Restoring DataChapter 6 Backing Up and Restoring Data 59After you answer these questions, the tool stops the CMS server, restores thedata, then restar

Page 56

6 Netscape Certificate Management System Command-Line Tools Guide • May 2002

Page 57 - Running the Restore Tool

Restoring Data60 Netscape Certificate Management System Command-Line Tools Guide • May 2002

Page 58

61Chapter 7ASCII to Binary ToolYou can use the ASCII to Binary tool to convert ASCII base-64 encoded data tobinary base-64 encoded data.This chapter h

Page 59

Example62 Netscape Certificate Management System Command-Line Tools Guide • May 2002ExampleAtoB.bat C:\test\data.in C:\test\data.outThe above command

Page 60

63Chapter 8Binary to ASCII ToolYou can use the Binary to ASCII tool to convert binary base-64 encoded data toASCII base-64 encoded data.The chapter ha

Page 61 - ASCII to Binary Tool

Example64 Netscape Certificate Management System Command-Line Tools Guide • May 2002ExampleBtoA.bat C:\test\data.in C:\test\data.outThe above command

Page 62

65Chapter 9Pretty Print Certificate ToolYou can use the Pretty Print Certificate tool to print the contents of a certificatestored as ASCII base-64 en

Page 63 - Binary to ASCII Tool

Example66 Netscape Certificate Management System Command-Line Tools Guide • May 2002ExamplePrettyPrintCert.bat C:\test\cert.in C:\test\cert.outThe abo

Page 64

ExampleChapter 9 Pretty Print Certificate Tool 6731:F2:CA:C9:16:87:B9:AD:B8:39:69:18:CE:29:81:5F:F3:4D:97:B9:DF:B7:60:B3:00:03:16:8E:C1:F8:17:6E:7A:D2

Page 65 - Pretty Print Certificate Tool

Example68 Netscape Certificate Management System Command-Line Tools Guide • May 2002

Page 66

69Chapter 10Pretty Print CRL ToolYou can use the Pretty Print CRL tool to print the contents of a CRL stored asASCII base-64-encoded data in a human-r

Page 67

7About This GuideThe Command-Line Tools Guide describes various command-line tools or utilitiesthatare bundledwith NetscapeCertificate ManagementSyste

Page 68

Example70 Netscape Certificate Management System Command-Line Tools Guide • May 2002ExamplePrettyPrintCrl.bat C:\test\crl.in C:\test\crl.outThe above

Page 69 - Pretty Print CRL Tool

ExampleChapter 10 Pretty Print CRL Tool 71Serial Number: 0x11Revocation Date: Wednesday, December 16, 1998 4:51:54 AMExtensions:Identifier: Revocation

Page 70

Example72 Netscape Certificate Management System Command-Line Tools Guide • May 2002

Page 71

Index 73IndexAaddingnew entries to the password cache 29ASCII to Binary tool 61example 62location 61syntax 61BBinary to ASCII tool 63example 64locatio

Page 72

74 Netscape Certificate Management System Command-Line Tools Guide • May 2002ExtJoiner toolexample 46location 46syntax 46Ffonts used in this book 9Lli

Page 73 - Index 73

What’s in This Guide8 Netscape Certificate Management System Command-Line Tools Guide • May 2002• Understand the conceptsof intranet, extranet, andthe

Page 74

Conventions Used in This GuideAbout This Guide 9• Chapter 5, “Extension Joiner Tool” Describes how to use the tool for joiningMIME-64 encoded formats

Commentaires sur ces manuels

Pas de commentaire