B-6
Appendix B: Linux Commands
keytool
keytool
The NAC 800 OS includes keytool, an application for managing keystores,
which consist of private keys and the associated public keys (certificate
chains). You should use
keytool
commands to create and manage the digital
certificate for the NAC 800’s HTTPS server (which grants access to its Web
browser interface).
The commands below, while not comprehensive, help you complete common
tasks. Visit
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html
for further documentation provided by the developer, Sun Microsystems.
Syntax:
keytool -genkey -alias <
alias
> -keystore <
keystore
> [-keysize <
size
>]
[-keyalg [rsa | dsa]] [-validity <
days
>] [dname <
distinguished name
>]
[-keypass <
password
>] [-storepass <
password
>]
Creates a new private key/public certificate which is stored
under the specified
<
alias
>
in the specified
<
keystore
>.
The key
is of the specified
<
size
>
(must be a multiple of 64) and
algorithm. (Default: 1024 bits and DSA.) If you do not enter
the
dname
option, you will be prompted to specify the
distinguished name. (For the first and last name, make sure
to enter the NAC 800’s FQDN.) If you do not enter a password
for the keystore and key, you will be prompted to do so. If the
keystore has already been created, you must enter the
previously-set password.
If you are creating a key for HTTPS, you should create
compliance.keystore
in the
/usr/local/nac/keystore
directory and
use
changeit
for the password.
Syntax:
keytool -import -file <
cert_filename
> -alias <
alias
> -keystore <
keystore
>
[-keypass <
password
>] [-storepass <
password
>]
Imports the certificate in the specified
<
cert_filename
>
under
the specified
<
alias
>
into the specified
<
keystore
>
. If you have
not entered the necessary passwords, you will be prompted to
do so. And, if the certificate is a root CA certificate, you will
be prompted to trust the certificate.
You should import a certificate for the NAC 800 into the
keystore with the corresponding private key. Import CA cer-
tificates for HTTPS into the
/usr/local/java/jre/lib/security/cac-
erts
keystore.
Summary of Contents for 800
Page 1: ...Configuration Guide www procurve com ProCurve Network Access Controller 800 ...
Page 2: ......
Page 3: ...ProCurve Network Access Controller 800 Configuration Guide April 2008 1 0 30398 ...
Page 74: ...1 62 Overview of the ProCurve NAC 800 Deployment Methods ...
Page 155: ...3 27 Initial Setup of the ProCurve NAC 800 System Settings ...
Page 194: ...3 66 Initial Setup of the ProCurve NAC 800 Digital Certificates ...
Page 336: ...6 8 Disabling Endpoint Integrity Testing Overview ...
Page 354: ...7 18 Redundancy and Backup for RADIUS Services Back Up Your NAC 800 Configuration ...
Page 380: ...A 26 Appendix A Glossary ...
Page 394: ...B 14 Appendix B Linux Commands Service Commands ...
Page 405: ......