pkcs11_inspect (1) - Linux Man Pages
pkcs11_inspect: print certificate contents
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).
- Enable debugging output.
- 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.