Openssl PKCS7 Command

Source: Internet
Author: User
Tags pkcs7

First, Introduction

The PKCS7 command is used to process pkcs#7 files in der or PEM format.

Second, the grammar

OpenSSL PKCS7 [-inform pem| DER] [-outform pem| DER] [- in filename] [-outfilename] [ID]

Options

-inform arg   input format--outform arg  output format-- in arg       file - Out arg      file -print_certs in  -text         -noout        Don'  t output encoded data -engine e use     engine E, possibly a hardware device.

Third, examples

1. Convert a pkcs#7 file from PEM format to der Format

OpenSSL PKCS7-infilefile. Der

2. Print pkcs#7 format CRL list

OpenSSL PKCS7- in Crlpkcs7.pem-print_certs

Iv. Expansion of knowledge

1) digital signature of PKCS7 attached and detached mode

http://www.mamicode.com/info-detail-966094.html

Reference: http://blog.csdn.net/as3luyuan123/article/details/16105407

Openssl PKCS7 Command

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.