Signing A File - Netscape MANAGEMENT SYSTEM 6.0 - COMMAND-LINE Manual

Command-line tools guide
Table of Contents

Advertisement

Using Netscape Signing Tool
Verisign Object Signing Cert
test object signing cert
Certificate (960187691))
---------------------------------------
For a list including CAs, use "signtool -L"

Signing a File

To sign a file using Netscape Signing Tool, follow these steps:
Create an empty directory.
1.
% mkdir signdir
Put some file into it.
2.
% echo boo > signdir/test.f
Specify the name of your object-signing certificate and sign the directory.
3.
If you are using Unix, this example assumes you have put your
~/.netscape
page 92.
% signtool -k MySignCert -Z testjar.jar signdir
using key "MySignCert"
using certificate directory: /u/jsmith/.netscape
Generating signdir/META-INF/manifest.mf file..
--> test.f
adding signdir/test.f to testjar.jar
Generating signtool.sf file..
Enter Password or Pin for "Communicator Certificate DB":
At the prompt, type the password to your private-key database.
4.
If it accepts the password,
adding signdir/META-INF/manifest.mf to testjar.jar
adding signdir/META-INF/signtool.sf to testjar.jar
adding signdir/META-INF/signtool.rsa to testjar.jar
tree "signdir" signed successfully
94
Netscape Certificate Management System Command-Line Tools Guide • March 2002
Issued by: VeriSign, Inc. - Verisign, Inc.
Expires: Tue May 19, 1998
Issued by: test object signing cert (Signtool 1.0 Testing
Expires: Sun May 17, 1998
directory, as explained in "Setting Up Your Certificate" on
responds as follows:
signtool
files in the
.db

Advertisement

Table of Contents
loading

This manual is also suitable for:

Certificate management system 6.0

Table of Contents