pkcs11_inspect - Online Linux Manual Page

Section : 1
Updated : Aug 2005
Source : Juan Antonio Martinez
Note : PAM PKCS#11

NAMEpkcs11_inspect − print certificate contents

SYNOPSISpkcs11_inspect [debug] [config_file=<filename>]

DESCRIPTIONpkcs11_inspect uses the pam_pkcs11 library infrastructure to get the content of a certificate and display it. pkcs11_inspect uses the same configuration file and arguments than pam_pkcs11(8) PAM module. It loads defined mapper modules, and use them to look into the certificate for required entries (ie: ms_mapper looks for ms UPN entries, and so on). When a mapper module finds a proper entry in the certificate, it converts to UTF−8 and print it to stdout.

OPTIONSdebug  Enable debugging output. config_file=<filename>  Sets the configuration file to use. Default value is /etc/pam_pkcs11/pam_pkcs11.conf. As it uses the same configuration file as pam_pkcs11, all pam_pkcs11 options are also available. Note that some of them have no sense in a non−PAM environment, so they will be ignored. Some mapper options (mapfile, ignorecase) have no effect on certificate contents, so they will be ignored too.

RETURN VALUEOn success pkcs11_inspect prints on stdout all certificate contents that are found for mappers and returns 0. On error it returns 1.

FILES/etc/pam_pkcs11/pam_pkcs11.conf

EXAMPLESTo run this program the standard way, insert a smart card in the reader and type:
 pkcs11_inspect
Alternatively you can specify options:
 pkcs11_inspect debug config_file=${HOME}/.pam_pkcs11.conf

AUTHORSJuan Antonio Martinez <jonsito@teleline.es>

SEE ALSOpam_pkcs11(8), pklogin_finder(1)
PAM−PKCS11 User Manual
0
Johanes Gumabo
Data Size   :   6,545 byte
man-pkcs11_inspect.1Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   52 / 4,698,874
Visitor ID   :     :  
Visitor IP   :   216.73.216.132   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   20   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.