用 root 登入
到 <Server_root>/bin/admin/admin/bin/ 下
< 1 > #./sec-key
(如果沒有admin目錄,去找到sec-key:
<Server_root>find / -name sec-key
)
-----------------------------------------------------------------------
| Netscape Communications Corporation |
| Key Pair File Generation |
------------------------------------------------------------------------
This program generates a key-pair file that your
servers use in
encrypted communications. The key-pair file is
also needed when
requesting a certificate.
Enter a unique alias to use as part of the file
name for the key-pair file.
An alias can have any characters except white
space.
For example, if the alias is 'mail', then the
key-pair file is named
mail-key.db. This file is stored in the directory
<server root>/alias.
< 2 > Alias: dennis ------->在此輸入 Key-Pair
的名子,範例中是用 dennis
The key-pair will be placed in /usr/netscape/suitespot/alias/dennis-key.db.
Press enter to continue:
它會在 /usr/netscape/suitespot/alias/ 產生一個
dennis-key.db
To create a key-pair file, this program needs to
generate a
random number. One of the easiest way to create a
random number
is to count the amount of time between keystrokes
on a keyboard.
To begin, type keys on the keyboard until this
progress meter
is full. DO NOT USE THE AUTOREPEAT FUNCTION ON
YOUR KEYBOARD!
|-
|
< 3 >Continue typing until the progress meter is
full:
這裡只要隨便輸入一些字母把它填滿就行了
|***********************************************************|
Continue typing until the progress meter is full:
Great! Press enter to continue:
Generating key. This may take a few minutes...
The random number generated successfully.
Enter a password for the key-pair file. You need
to enter
this password when starting or stopping your
server.
The password must be at least 8 characters long,
and
must contain at least one non-alphabetic
character.
< 4 >Password: ------>看到這些訊息表示 random number
已經產生成功了
接著輸入 8 個字母及數字交錯的密碼給 dennis-key.db key-pair
The key-pair file generated successfully.
Your new key-pair is in the file:
/usr/netscape/suitespot/alias/dennis-key.db
< Key-Pair 已經產生成功了>