Interstage Application Server セキュリティシステム運用ガイド
目次 索引 前ページ次ページ

第2部 認証とアクセス制御> 第4章 Interstage HTTP Serverの認証とアクセス制御の設定> 4.3 オンライン照合

4.3.2 環境定義ファイルの設定

 Interstage HTTP Serverの環境定義ファイル(httpd.conf)において、オンライン照合機能の運用に応じた設定を行います。

 Interstage HTTP Serverの環境定義ファイル(httpd.conf)は、Interstage HTTP Serverとディレクトリサーバ間で、SSLを使用しない運用、またはSSLを使用する運用により設定方法が異なります。以下の表を参考にして設定してください。

ディレクトリサーバ

Interstage HTTP Serverが使用するSSL環境

参照する設定例

Smart Repository

SSLを使用しない

SSL未使用の設定1

Interstage証明書環境を使用する(注1)

SSL使用の設定1

SMEEコマンドで構築した証明書/鍵管理環境を使用する

SSL使用の設定2

InfoDirectory

SSLを使用しない

SSL未使用の設定2

Interstage証明書環境を使用する

SSL使用の設定3

SMEEコマンドで構築した証明書/鍵管理環境を使用する(注2)

SSL使用の設定4

注1)Smart Repositoryで構築したSSL環境を使用する場合も該当します。
注2)InfoDirectoryで構築したSSL環境を使用する場合も該当します。

 それぞれのInterstage HTTP Serverの環境定義ファイル(httpd.conf)の設定例を以下に示します。

ディレクトリサーバとしてSmart Repositoryを使用する場合

◇SSL未使用の設定1


 以下のような設定でSSLを使用しないオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“389”
  ディレクトリサーバにアクセスするためのBindDN名“cn=manager,ou=interstage,o=fujitsu,dc=com”
  ディレクトリサーバでユーザ情報を格納したツリー名“ou=User,ou=interstage,o=fujitsu,dc=com”

LoadModule mod_ldap_module modules/mod_ldap.dll
AddModule mod_ldap.c

<Directory "C:/Interstage/F3FMihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=manager,ou=interstage,o=fujitsu,dc=com
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType  Basic
    AuthLDAPHost  hostname
    AuthLDAPPort  389
    AuthLDAPbasedn  ou=User,ou=interstage,o=fujitsu,dc=com
    Require valid-user
    AuthLDAPSecure  off
</Directory>


 以下のような設定でSSLを使用しないオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“389”
  ディレクトリサーバにアクセスするためのBindDN名“cn=manager,ou=interstage,o=fujitsu,dc=com”
  ディレクトリサーバでユーザ情報を格納したツリー名“ou=User,ou=interstage,o=fujitsu,dc=com”

LoadModule mod_ldap_module libexec/mod_ldap.so
AddModule mod_ldap.c

<Directory "/opt/FJSVihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=manager,ou=interstage,o=fujitsu,dc=com
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType  Basic
    AuthLDAPHost  hostname
    AuthLDAPPort  389
    AuthLDAPbasedn  ou=User,ou=interstage,o=fujitsu,dc=com
    Require valid-user
    AuthLDAPSecure  off
</Directory>

◇SSL使用の設定1(Interstage証明書環境を使用する設定、またはSmart Repositoryで構築したSSLを使用する設定)


 以下のような設定でSSLを使用したオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“636”
  ディレクトリサーバにアクセスするためのBindDN名“cn=manager,ou=interstage,o=fujitsu,dc=com”
  ディレクトリサーバでユーザ情報を格納したツリー名“ou=User,ou=interstage,o=fujitsu,dc=com”

LoadModule mod_ldap_module modules/mod_ldap.dll
AddModule mod_ldap.c

<Directory "C:/Interstage/F3FMihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=manager,ou=interstage,o=fujitsu,dc=com
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType  Basic
    AuthLDAPHost  hostname
    AuthLDAPPort  636
    AuthLDAPbasedn  ou=User,ou=interstage,o=fujitsu,dc=com
    Require valid-user
    AuthLDAPSecure  on
</Directory>


 以下のような設定でSSLを使用したオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“636”
  ディレクトリサーバにアクセスするためのBindDN名“cn=manager,ou=interstage,o=fujitsu,dc=com”
  ディレクトリサーバでユーザ情報を格納したツリー名“ou=User,ou=interstage,o=fujitsu,dc=com”
  Interstage証明書環境の所有グループに登録したユーザ“nobody”
  上記ユーザが属するグループ“nobody”

LoadModule mod_ldap_module libexec/mod_ldap.so
AddModule mod_ldap.c

User nobody
Group nobody

<Directory "/opt/FJSVihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=manager,ou=interstage,o=fujitsu,dc=com
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType  Basic
    AuthLDAPHost  hostname
    AuthLDAPPort  636
    AuthLDAPbasedn  ou=User,ou=interstage,o=fujitsu,dc=com
    Require valid-user
    AuthLDAPSecure  on
</Directory>

◇SSL使用の設定2(SMEEコマンドで構築した証明書/鍵管理環境を使用する設定)


 以下のような設定でSSLを使用したオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“636”
  ディレクトリサーバにアクセスするためのBindDN名“cn=manager,ou=interstage,o=fujitsu,dc=com”
  ディレクトリサーバでユーザ情報を格納したツリー名“ou=User,ou=interstage,o=fujitsu,dc=com”
  秘密鍵管理環境のスロット情報ディレクトリ“D:\sslenv\slot”
  証明書/CRL管理環境の運用管理ディレクトリ“D:\sslenv\sslcert”
  トークンラベル“token01”
  ユーザPIN“userpin”

LoadModule mod_ldap_module modules/mod_ldap.dll
AddModule mod_ldap.c

<Directory "C:/Interstage/F3FMihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=manager,ou=interstage,o=fujitsu,dc=com
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType Basic
    AuthLDAPHost hostname
    AuthLDAPPort 636
    AuthLDAPbasedn  ou=User,ou=interstage,o=fujitsu,dc=com
    Require valid-user
    AuthLDAPSecure on
    AuthLDAPSlotPath "D:\sslenv\slot"
    AuthLDAPCertPath "D:\sslenv\sslcert"
    AuthLDAPTknLbl token01
    AuthLDAPTknPwd userpin
</Directory>


 以下のような設定でSSLを使用したオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“636”
  ディレクトリサーバにアクセスするためのBindDN名“cn=manager,ou=interstage,o=fujitsu,dc=com”
  ディレクトリサーバでユーザ情報を格納したツリー名“ou=User,ou=interstage,o=fujitsu,dc=com”
  秘密鍵管理環境のスロット情報ディレクトリ“/sslenv/slot”
  証明書/CRL管理環境の運用管理ディレクトリ“/sslenv/sslcert”
  トークンラベル“token01”
  ユーザPIN“userpin”
  証明書/鍵管理環境を構築したユーザ“user1”
  上記ユーザが属するグループ“group1”

LoadModule mod_ldap_module libexec/mod_ldap.so
AddModule mod_ldap.c

User user1
Group group1

<Directory "/opt/FJSVihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=manager,ou=interstage,o=fujitsu,dc=com
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType Basic
    AuthLDAPHost hostname
    AuthLDAPPort 636
    AuthLDAPbasedn  ou=User,ou=interstage,o=fujitsu,dc=com
    Require valid-user
    AuthLDAPSecure on
    AuthLDAPSlotPath "/sslenv/slot"
    AuthLDAPCertPath "/sslenv/sslcert"
    AuthLDAPTknLbl token01
    AuthLDAPTknPwd userpin
</Directory>

ディレクトリサーバとしてInfoDirectoryを使用する場合

◇SSL未使用の設定2


 以下のような設定でSSLを使用しないオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“389”
  ディレクトリサーバにアクセスするためのBindDN名“cn=name”
  ディレクトリサーバでユーザ情報を格納したツリー名“o=fujitsu,c=jp”

LoadModule mod_ldap_module modules/mod_ldap.dll
AddModule mod_ldap.c

<Directory "C:/Interstage/F3FMihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=name
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType  Basic
    AuthLDAPHost  hostname
    AuthLDAPPort  389
    AuthLDAPbasedn  o=fujitsu,c=jp
    Require valid-user
    AuthLDAPSecure  off
</Directory>


 以下のような設定でSSLを使用しないオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“389”
  ディレクトリサーバにアクセスするためのBindDN名“cn=name”
  ディレクトリサーバでユーザ情報を格納したツリー名“o=fujitsu,c=jp”

LoadModule mod_ldap_module libexec/mod_ldap.so
AddModule mod_ldap.c

<Directory "/opt/FJSVihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=name
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType  Basic
    AuthLDAPHost  hostname
    AuthLDAPPort  389
    AuthLDAPbasedn  o=fujitsu,c=jp
    Require valid-user
    AuthLDAPSecure  off
</Directory>

◇SSL使用の設定3(Interstage証明書環境を使用する設定)


 以下のような設定でSSLを使用したオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“636”
  ディレクトリサーバにアクセスするためのBindDN名“cn=name”
  ディレクトリサーバでユーザ情報を格納したツリー名“o=fujitsu,c=jp”

LoadModule mod_ldap_module modules/mod_ldap.dll
AddModule mod_ldap.c

<Directory "C:/Interstage/F3FMihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=name
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType  Basic
    AuthLDAPHost  hostname
    AuthLDAPPort  636
    AuthLDAPbasedn  o=fujitsu,c=jp
    Require valid-user
    AuthLDAPSecure  on
</Directory>


 以下のような設定でSSLを使用したオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“636”
  ディレクトリサーバにアクセスするためのBindDN名“cn=name”
  ディレクトリサーバでユーザ情報を格納したツリー名“o=fujitsu,c=jp”
  Interstage証明書環境の所有グループに登録したユーザ“nobody”
  上記ユーザが属するグループ“nobody”

LoadModule mod_ldap_module libexec/mod_ldap.so
AddModule mod_ldap.c

User nobody
Group nobody

<Directory "/opt/FJSVihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=name
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType  Basic
    AuthLDAPHost  hostname
    AuthLDAPPort  636
    AuthLDAPbasedn  o=fujitsu,c=jp
    Require valid-user
    AuthLDAPSecure  on
</Directory>

◇SSL使用の設定4(SMEEコマンドで構築した証明書/鍵管理環境を使用する設定、またはInfoDirectoryで構築したSSLを使用する設定)


 以下のような設定でSSLを使用したオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“636”
  ディレクトリサーバにアクセスするためのBindDN名“cn=name”
  ディレクトリサーバでユーザ情報を格納したツリー名“o=fujitsu,c=jp”
  秘密鍵管理環境のスロット情報ディレクトリ“C:\Interstage\ID\Mgr\etc\ssl\slot”
  証明書/CRL管理環境の運用管理ディレクトリ“C:\Interstage\ID\Mgr\etc\ssl\envdir”
  トークンラベル“token01”
  ユーザPIN“userpin”

LoadModule mod_ldap_module modules/mod_ldap.dll
AddModule mod_ldap.c

<Directory "C:/Interstage/F3FMihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=name
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType Basic
    AuthLDAPHost hostname
    AuthLDAPPort 636
    AuthLDAPbasedn o=fujitsu,c=jp
    Require valid-user
    AuthLDAPSecure on
    AuthLDAPSlotPath "C:\Interstage\ID\Mgr\etc\ssl\slot"
    AuthLDAPCertPath "C:\Interstage\ID\Mgr\etc\ssl\envdir"
    AuthLDAPTknLbl token01
    AuthLDAPTknPwd userpin
</Directory>


 以下のような設定でSSLを使用したオンライン照合機能の運用を行う場合
  ディレクトリサーバのホスト名“hostname”
  ポート番号“636”
  ディレクトリサーバにアクセスするためのBindDN名“cn=name”
  ディレクトリサーバでユーザ情報を格納したツリー名“o=fujitsu,c=jp”
  秘密鍵管理環境のスロット情報ディレクトリ“/sslenv/slot”
  証明書/CRL管理環境の運用管理ディレクトリ“/sslenv/sslcert”
  トークンラベル“token01”
  ユーザPIN“userpin”
  証明書/鍵管理環境を構築したユーザ“user1”
  上記ユーザが属するグループ“group1”

LoadModule mod_ldap_module libexec/mod_ldap.so
AddModule mod_ldap.c

User user1
Group group1

<Directory "/opt/FJSVihs/htdocs/securityzone">
    AuthLDAPBindDN  cn=name
    AuthLDAPBindPassword  password
    AuthLDAPEnabled  on
    AuthName  "title"
    AuthType Basic
    AuthLDAPHost hostname
    AuthLDAPPort 636
    AuthLDAPbasedn o=fujitsu,c=jp
    Require valid-user
    AuthLDAPSecure on
    AuthLDAPSlotPath "/sslenv/slot"
    AuthLDAPCertPath "/sslenv/sslcert"
    AuthLDAPTknLbl token01
    AuthLDAPTknPwd userpin
</Directory>


 ServletサービスのアプリケーションのURLに対してオンライン照合機能を設定する場合は、上記の設定例の<Directory>セクションは使用できません。<Location>セクションを使用してください。

関連ディレクティブ

AddModule
AuthLDAPbasedn
AuthLDAPBindDN
AuthLDAPBindPassword
AuthLDAPCertPath
AuthLDAPEnabled
AuthLDAPHost
AuthLDAPPort
AuthLDAPSecure
AuthLDAPSlotPath
AuthLDAPTknLbl
AuthLDAPTknPwd
AuthName
AuthType
<Directory>
Group
LoadModule
Require
User


目次 索引 前ページ次ページ

Copyright 2006 FUJITSU LIMITED