pkcs7 - PKCS#7 utility
openssl pkcs7 [-inform PEM|DER] [-outform PEM|DER] [-in filename] [-out filename] [-print_certs] [-text] [-noout] [-engine id]
The pkcs7 command processes PKCS#7 files in DER or PEM format.
-inform DER|PEM This specifies the input format. DER format is DER encoded PKCS#7 v1.5 structure.PEM (the default) is a base64 encoded version of the DER form with header and footer lines. -outform DER|PEM This specifies the output format, the options have the same meaning as the -inform option. -in filename This specifies the input filename to read from or standard input if this option is not specified. -out filename specifies the output filename to write to or standard output by default. -print_certs prints out any certificates or CRLs contained in the file. They are preceded by their subject and issuer names in one line format. -text prints out certificates details in full rather than just subject and issuer names. -noout don't output the encoded version of the PKCS#7 structure (or certificates is -print_certs is set). -engine id specifying an engine (by its unique id string) will cause pkcs7 to attempt to obtain a functional reference to the specified engine, thus initialising it if needed. The engine will then be set as the default for all available algorithms.
Convert a PKCS#7 file from PEM to DER: openssl pkcs7 -in file.pem -outform DER -out file.der Output all certificates in a file: openssl pkcs7 -in file.pem -print_certs -out certs.pem
The PEM PKCS#7 format uses the header and footer lines: -----BEGIN PKCS7----- -----END PKCS7----- For compatibility with some CAs it will also accept: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
There is no option to print out all the fields of a PKCS#7 file. This PKCS#7 routines only understand PKCS#7 v 1.5 as specified in RFC2315 they cannot currently parse, for example, the new CMS as described in RFC2630.
More Linux Commands
sigwaitinfo(2) - synchronously wait for queued signals......
sigwaitinfo() suspends execution of the calling thread until one of the signals in set is pending (If one of the signals in set is already pending for the calli
pcre32_exec(3) Perl-compatible regular expressions..........
This function matches a compiled regular expression against a given subject string, using a matching algorithm that is similar to Perls. It returns offsets to c
controlchan(8) - channel-fed control message handler........
Controlchan removes the responsibility for handling control messages (except cancels) from innd(8) and instead processes them from a channel or file feed. To re
iscsid(8) Open-iSCSI daemon (Admin - Linux man page)........
The iscsid implements the control path of iSCSI protocol, plus some management facilities. For example, the daemon could be configured to automatically re-start
ber_bvarray_free(3) - OpenLDAP LBER types and allocation fun
The following are the basic types and structures defined for use with the Lightweight BER library. ber_int_t is a signed integer of at least 32 bits. It is comm
basename(1) - strip directory and suffix from filenames.....
Print NAME with any leading directory components removed. If specified, also remove a trailing SUFFIX. Mandatory arguments to long options are mandatory for sho
terms(5) - database of blessed terminals for xtermset.......
The terms database is a file whichs tells xtermset which terminals are controllable. terms is usually located in /usr/share/xtermset and it is an ASCII file. A
sem_post(3) - unlock a semaphore (Library - Linux man page)
sem_post() increments (unlocks) the semaphore pointed to by sem. If the semaphores value consequently becomes greater than zero, then another process or thread
init(1) - systemd System and Service Manager (Man Page).....
systemd is a system and service manager for Linux operating systems. When run as first process on boot (as PID 1), it acts as init system that brings up and mai
zdiff(1) - compare compressed files - Linux manual page.....
Zcmp and zdiff are used to invoke the cmp or the diff program on files compressed via gzip. All options specified are passed directly to cmp or diff. If only fi
crypt_r(3) - password hashing (Library - Linux man page)....
The crypt, crypt_r, crypt_rn, and crypt_ra functions calculate a cryptographic hash function of key with one of a number of supported methods as requested with
pax11publish(1) - PulseAudio X11 Credential Utility.........
The pax11publish utility can be used to dump or manipulate the PulseAudio server credentials that can be stored as properties on the X11 root window. Please not