Openssl crl2pkcs7命令

來源:互聯網
上載者:User

標籤:

一、簡介

crl2pkcs7命令根據CRL或認證來產生pkcs#7訊息

 

二、文法

openssl  crl2pkcs7  [-inform PEM|DER ] [-outform PEM|DER ] [-in filename ] [-out filename ] [-certfile filename ] [-nocrl ]

選項

-inform arg    input format - DER or PEM -outform arg   output format - DER or PEM -in arg        input file -out arg       output file -certfile arg  certificates file of chain to a trusted CA                (can be used more than once) -nocrl         no crl to load, just certs from ‘-certfile‘

 

三、執行個體

1、用一個CRL檔案建立一個PKCS#7結構,只包含crl資訊

openssl crl2pkcs7 -in crl.crl -out crlpkcs7.pem

2、用一個認證和CRL檔案建立一個PKCS#7結構,只包含認證資訊

openssl crl2pkcs7 -in crl.crl -certfile demoCA/ca cert.pem  -out certpkcs7.pem –nocrl

3、用一個認證和CRL檔案建立一個PKCS#7結構,同時包含認證資訊和crl資訊

openssl crl2pkcs7 -in crl.crl -certfile demoCA/ca cert.pem  -out crlcertpkcs7.pem

 

參考:http://blog.csdn.net/as3luyuan123/article/details/13709923

Openssl crl2pkcs7命令

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.