Translated message

A translation of this page exists in English.

Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Apache で中間 CA の証明書をインストールする

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux (すべてのバージョン)
  • Apache httpd (すべてのバージョン)

Issue

  • 中間 CA 証明書をインストールする必要があります。Apache ではどのように行いますか?

Resolution

  1. 変更を加える前に関連するすべてのファイルのバックアップを取得します。
  2. Virtual Host が設定されている Apache 設定ファイルを探します。
  3. "SSLCACertificateFile" 行を探します。たとえば、以下のようになります。

    SSLCACertificateFile /etc/httpd/conf/ssl.crt/my_ca.crt
    
  4. 中間 CA のコンテンツを CA 証明書にコピーアンドペーストします (my_ca.crt に追加します)。

  5. Apache を再起動します。

    # service httpd restart
    

もしくは、お使いのサイトの Virtual Host の設定 (httpd.conf ファイル) で、以下の SSL ディレクティブを追加する必要があります。

SSLCertificateFile /etc/ssl/crt/public.crt           //Locate Certificate File
SSLCertificateKeyFile /etc/ssl/crt/private.key           //Locate Private Key File
SSLCertificateChainFile /etc/ssl/crt/intermediate.crt      //Locate the Intermediate File

この手順の詳細は、中間 CA を提供している CA ベンダーから取得できます。

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments