Demandware では証明書を PEM 形式で要求しますが、CA によっては異なる形式で提供されることがあります。OpenSSL を使用して .crt、.cer、.der 形式の証明書を PEM 形式に変換する方法を説明します。すべてのインスタンスタイプで適用が可能です。
目的: Demandware では証明書を PEM 形式またはプレーンテキストで証明書を要求しますが、CA (認証機関) によっては 正しいフォーマットを提供していない場合があるため、受け入れ可能なフォーマットに変換する方法について説明します。
環境: すべてのインスタンスタイプ
手順: 以下のコマンドは、.cer を .pem に変換する例となりますが、.crt や .der フォーマットも同様に PEM 形式に変換することができます。
openssl x509 -inform der -in certificate.cer -out certificate.pem 例: $ openssl x509 -inform der -in DigiCertSHA2HighAssuranceServerCA.crt -out DigiCertSHA2HighAssuranceServerCA.pem
詳細情報: https://www.sslshopper.com/article-most-common-openssl-commands.html
000391727

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.