NGINX のセキュアな通信には SSL 証明書(c2okey2.pem および c2ocert.pem ファイル)が必要です。 この手順を開始する前に必ずこれらのファイルを生成してください。
以下の手順に従います。
nginx_install_dir/conf
このフォルダには nginx.conf ファイルが含まれます。
server {
listen 80;
server_name <ロード バランサのホスト名>;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
}
nginx_install_dir/conf
このフォルダには secure-pam-server.conf ファイルが含まれます。
server <Enter node1 hostname here>:8443 max_fails=3 fail_timeout=3s
server <Enter node1 hostname here>:8443 max_fails=3 fail_timeout=3s
server <hostname of machine where you have installed node1>:<jetty server port> max_fails=3 fail_timeout=3s
Enter node1 hostname here プレースホルダを有効な値と入れ替えます。 別のポートを CA Process Automation ノードに使用する場合を除き、ポート番号を変更しないでください。
注: この有効な値は、最初のドメイン オーケストレータ ノードをインストールするホストに解決される IP アドレス、FQDN、または DNS エイリアスです。 有効な値は、ドメイン オーケストレータをインストールするときに「サーバ ホスト」に使用される値と同じです。
インストールする追加のノードごとにこれらの手順を繰り返します。
ssl_certificate <certificate_location¥c2ocert.pem>;
ssl_certificate_key <certificate_location¥c2okey2.pem>;
例:
ssl_certificate <nginx_install_dir¥conf¥c2ocert.pem>;
include nginx_install_dir/conf/pam-server.conf;
このエントリは、NGINX を secure-pam-server.conf ファイルで CA Process Automation に対して加えた設定変更とリンクします。
include nginx_install_dir/nginx/conf.d/*.conf;
重要: 少なくとも 1 つのオーケストレータ ノードをインストールした後、これらの手順の残りを実行します。 手順については、「ドメイン オーケストレータの対話式インストール」または「ドメイン オーケストレータの無人インストール」を参照してください。
例:
server {
listen 80;
server_name <ロード バランサのホスト名>;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
}
nginx –s stop
変更内容が適用されます。
|
Copyright © 2013 CA.
All rights reserved.
|
|