Cosminexus アプリケーションサーバ V8 機能解説 基本・開発編(コンテナ共通機能)
Hitachi Web Serverを使用してSSLによる認証やデータの暗号化をする場合,秘密鍵の作成,認証局(CA)が発行した証明書の取得,およびhttpsd.conf(Hitachi Web Server定義ファイル)の設定が必要です。
また,クライアント認証をする場合,クライアント証明書と認証局(CA)の証明書の取得,およびhttpsd.conf(Hitachi Web Server定義ファイル)の設定が必要です。
ここでは,Hitachi Web ServerのSSLによる認証,暗号化の設定,およびクライアント認証の設定について説明します。なお,詳細については,マニュアル「Hitachi Web Server」を参照してください。
Hitachi Web Serverを使用してSSLによる認証やデータの暗号化をする場合,次の設定をしてください。
Hitachi Web Serverが用意しているsslcユティリティを使用し,次に示す手順に従って証明書発行局(CA)から証明書を取得します。なお,Hitachi Web Serverが提供するテスト用CAを利用する場合は,マニュアル「Hitachi Web Server」を参照してください。
httpsd.conf(Hitachi Web Server定義ファイル)に,次に示す設定を記述してください。
ServerName localhost Port 80 Listen 80 #--途中省略-- Listen 443 <VirtualHost host1:443> SSLEnable SSLCertificateFile "C:/Program Files/Hitachi/httpsd/conf/ssl/server/httpsdcert.pem" SSLCertificateKeyFile "C:/Program Files/Hitachi/httpsd/conf/ssl/server/httpsdkey.pem" </VirtualHost> Include "C:/Program Files/Hitachi/Cosminexus/CC/web/redirector/mod_jk.conf" |
ServerName localhost Port 80 Listen 80 #--途中省略-- Listen 443 <VirtualHost host1:443> SSLEnable SSLCertificateFile "/opt/hitachi/httpsd/conf/ssl/server/httpsdcert.pem" SSLCertificateKeyFile "/opt/hitachi/httpsd/conf/ssl/server/httpsdkey.pem" </VirtualHost> Include "/opt/Cosminexus/CC/web/redirector/mod_jk.conf" |
クライアント認証をする場合,次の設定をしてください。
httpsd.conf(Hitachi Web Server定義ファイル)に,次に示す設定を記述してください。
ServerName localhost Port 80 Listen 80 #--途中省略-- Listen 443 <VirtualHost host1:443> SSLEnable SSLCertificateFile "C:/Program Files/Hitachi/httpsd/conf/ssl/server/httpsdcert.pem" SSLCertificateKeyFile "C:/Program Files/Hitachi/httpsd/conf/ssl/server/httpsdkey.pem" SSLCACertificateFile "C:/Program Files/Hitachi/httpsd/conf/ssl/cacert/cacert.pem" SSLVerifyClient 2 SSLVerifyDepth 2 SSLExportClientCertificates SSLExportCertChainDepth 2 </VirtualHost> Include "C:/Program Files/Hitachi/Cosminexus/CC/web/redirector/mod_jk.conf" |
ServerName localhost Port 80 Listen 80 #--途中省略-- Listen 443 <VirtualHost host1:443> SSLEnable SSLCertificateFile "/opt/hitachi/httpsd/conf/ssl/server/httpsdcert.pem" SSLCertificateKeyFile "/opt/hitachi/httpsd/conf/ssl/server/httpsdkey.pem" SSLCACertificateFile "/opt/hitachi/httpsd/conf/ssl/cacert/cacert.pem" SSLVerifyClient 2 SSLVerifyDepth 2 SSLExportClientCertificates SSLExportCertChainDepth 2 </VirtualHost> Include "/opt/Cosminexus/CC/web/redirector/mod_jk.conf" |
All Rights Reserved. Copyright (C) 2008, 2011, Hitachi, Ltd.