OpenSSL

密碼學和 SSL/TLS 工具包

openssl-nseq

名稱

openssl-nseq - 建立或檢查 Netscape 憑證序列

語法

openssl nseq [-help] [-in filename] [-out filename] [-toseq] [-provider name] [-provider-path path] [-propquery propq]

說明

此指令會取得包含 Netscape 憑證序列的檔案,並列印其中包含的憑證,或取得憑證檔案並將其轉換為 Netscape 憑證序列。

Netscape 憑證序列是一種舊的 Netscape 特定格式,有時可以作為標準 PKCS#7 格式的替代方案,在將多個憑證傳送至瀏覽器時傳送至瀏覽器,例如在憑證註冊期間。它也曾由 Netscape 憑證伺服器使用。

選項

-help

列印使用訊息。

-in filename

指定要讀取的輸入檔名,如果未指定此選項,則為標準輸入。

-out filename

指定輸出檔名或預設的標準輸出。

-toseq

通常會輸入 Netscape 憑證序列,而輸出是其中包含的憑證。使用 -toseq 選項時,情況會相反:從憑證檔案建立 Netscape 憑證序列。

-provider name
-provider-path path
-propquery propq

請參閱 openssl(1) 中的「供應商選項」provider(7)property(7)

範例

輸出 Netscape 憑證序列中的憑證

openssl nseq -in nseq.pem -out certs.pem

建立 Netscape 憑證序列

openssl nseq -in certs.pem -toseq -out nseq.pem

版權所有 2000-2020 The OpenSSL Project Authors。保留所有權利。

根據 Apache 授權條款 2.0(「授權條款」)授權。您不得在不遵守授權條款的情況下使用此檔案。您可以在原始程式碼散佈中的 LICENSE 檔案中取得副本,或至 https://www.openssl.org/source/license.html 取得副本。