User Commands pkcs11inspect(1)
NAME
pkcs11inspect - print certificate contents
SYNOPSIS
/usr/lib/pampkcs11/pkcs11inspect [debug] [configfile=filename]
DESCRIPTION
pkcs11inspect uses the pampkcs11 library infrastructure to
obtain the content of a certificate and display it.
pkcs11inspect uses the same configuration file and argu-
ments as the pampkcs11(5) PAM module. It loads defined
mapper modules, and uses them to look into the certificate
for required entries, that is, msmapper looks for ms UPN
entries, and so forth.
When a mapper module finds a proper entry in the certifi-
cate, it converts to UTF-8 and prints it to stdout.
OPTIONS
The following options are supported:
configfile=fileame Set the configuration file. The
default value is
/etc/security/pampkcs11/pampkcs11.conf.
debug Enable debugging output.
As it uses the same configuration file as pampkcs11(5), all
of the pampkcs11 options are available. Some of these
options make no sense in a non-PAM environment, and are
therefore ignored. Some mapper options (mapfile, ignorecase)
have no effect on certificate contents, and they are ignored
as well.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
pkcs11inspect prints on stdout all certificate con-
tents that are found for mappers.
1 An error occurred.
SunOS 5.11 Last change: 16 Jul 2008 1
User Commands pkcs11inspect(1)
EXAMPLES
Example 1 Using pkcsinspect
The following example runs the pkcsinspect command without
any options:
% pkcs11inspect
Example 2 Using pkcsinspect with Options
The following example runs the pkcsinspect command with
options:
% pkcs11inspect debug configfile=${HOME}/.pampkcs11.conf
FILES
/etc/security/pampkcs11/pampkcs11.conf
AUTHORS
Juan Antonio Martinez, jonsito@teleline.es
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWpampkcs11u,
SUNWpampkcs11r,
SUNWpampkcs11-docs
Interface Stability Uncommitted
SEE ALSO
pkloginfinder(1), attributes(5), pampkcs11(5)
SunOS 5.11 Last change: 16 Jul 2008 2
User Commands pkcs11inspect(1)
PAM-PKCS11 User Manual, http:/www.opensc-
project.org/pampkcs11
SunOS 5.11 Last change: 16 Jul 2008 3
|