Documentation for Crowd 2.5. Documentation for other versions of Crowd is available too.
You can configure Crowd to work with Microsoft Active Directory by setting up an LDAP connector in Crowd. If you wish to use Crowd to add users or change passwords in Active Directory, you will need to install an SSL certificate generated by your Active Directory server and then install the certificate into your JVM keystore.
On this page:
keystore
にインポートします。証明書を生成するには、接続している Windows ドメイン コントローラーに、以下のコンポーネントをインストールする必要があります。
必要なコンポーネント | 説明 |
---|---|
Internet Information Services (IIS) | Windows Certificate Services をインストールする前に必要とされるものです。 |
Windows Certificate Services | 証明書の発行に使用される認証局(CA)をインストールします。下記のステップ 1 では、このプロセスについて説明しています。 |
Windows 2000 Service Pack 2 | Windows 2000 を使用する場合に必要です。 |
Windows 2000 High Encryption Pack (128-bit) | Windows 2000 を使用する場合に必要です。利用可能な最高度の暗号化レベル(128 -ビット)を提供します。 |
証明書サービスがすでにインストールされている場合は、下のステップ 2 に進みます。下のスクリーンショットは、サーバー 2008 のものですが、サーバー 2000 および 2003 についても、このプロセスは同じです。
上記のステップは、Microsoft Active Directory サーバーに認証局(CA)をインストールする方法に関する説明です。次に、アプリケーション サーバーを実行する JDK が使用する承認済み証明書の一覧に、Microsoft Active Directory サーバーの SSL 証明書を追加する必要があります。
Active Directory 証明書は自動的に生成され、Active Directory サーバーのツリー構造と同様のファイル フォーマットに類似する形式で C:\ ドライブのルートに配置されます。例: c:\ad2008.ad01.atlassian.com_ad01.crt
。
また、Active Directory サーバー上で、次のコマンドを実行することにより、証明書をエクスポートできます。
certutil -ca.cert client.crt
You might still fail to be authenticated using the certificate file above. In this case, Microsoft's LDAP over SSL (LDAPS) Certificate page might help. Note that you need to:
アプリケーション サーバーがディレクトリの証明書を信頼できるようにするには、証明書を Java ランタイム環境にインポートする必要があります。JDK は信頼済みの証明書をキーストアと呼ばれるファイルに格納します。既定のキーストア ファイルは cacerts
と呼ばれ、Java インストールの jre\lib\security
サブディレクトリに置かれます。
以下の例では、ディレクトリ サーバーからエクスポートされる証明書ファイルを server-certificate.crt
と表しています。実際に生成された名前と一致するよう、以降の手順を修正する必要があります。
以下の指示にしたがい、証明書をインポートしたあと、アプリケーションを再起動して、変更を反映する必要があります。
Java がインストールされているディレクトリに移動します。このディレクトリは、C:\Program Files\Java\jdk1.5.0_12
のようになります。
cd /d C:\Program Files\Java\jdk1.5.0_12
次のコマンドを実行します。ここで server-certificate.crt
はディレクトリ サーバー からエクスポートされたファイルの名前です。
keytool -importcert -keystore .\jre\lib\security\cacerts -file server-certificate.crt
keytool
からパスワードの入力を求められます。既定のキーストア パスワードは changeit
です。Trust this certificate? [no]:
というプロンプトが表示されたら、「yes
」と入力し、キーのインポートを確認します。
Enter keystore password:changeit Owner: CN=ad01, C=US Issuer: CN=ad01, C=US Serial number: 15563d6677a4e9e4582d8a84be683f9 Valid from: Tue Aug 21 01:10:46 ACT 2007 until: Tue Aug 21 01:13:59 ACT 2012 Certificate fingerprints: MD5:D6:56:F0:23:16:E3:62:2C:6F:8A:0A:37:30:A1:84:BE SHA1: 73:73:4E:A6:A0:D1:4E:F4:F3:CD:CE:BE:96:80:35:D2:B4:7C:79:C1 Trust this certificate? [no]:yes Certificate was added to keystore
JIRA が使用する Java がインストールされているディレクトリに移動します。既定の JAVA インストールを使用する場合、次のように入力します。
cd $JAVA_HOME
次のコマンドを実行します。ここで server-certificate.crt
はディレクトリ サーバー からエクスポートされたファイルの名前です。
sudo keytool -importcert -keystore ./jre/lib/security/cacerts -file server-certificate.crt
keytool
からパスワードの入力を求められます。既定のキーストア パスワードは changeit
です。Trust this certificate? [no]:
というプロンプトが表示されたら、「yes
」と入力し、キーのインポートを確認します。
Password: Enter keystore password:changeit Owner: CN=ad01, C=US Issuer: CN=ad01, C=US Serial number: 15563d6677a4e9e4582d8a84be683f9 Valid from: Tue Aug 21 01:10:46 ACT 2007 until: Tue Aug 21 01:13:59 ACT 2012 Certificate fingerprints: MD5:D6:56:F0:23:16:E3:62:2C:6F:8A:0A:37:30:A1:84:BE SHA1: 73:73:4E:A6:A0:D1:4E:F4:F3:CD:CE:BE:96:80:35:D2:B4:7C:79:C1 Trust this certificate? [no]:yes Certificate was added to keystore
Java がインストールされているディレクトリに移動します。通常、次のように入力します。
cd /Library/Java/Home
次のコマンドを実行します。ここで server-certificate.crt
はディレクトリ サーバー からエクスポートされたファイルの名前です。
sudo keytool -importcert -keystore ./jre/lib/security/cacerts -file server-certificate.crt
keytool
からパスワードの入力を求められます。既定のキーストア パスワードは changeit
です。Trust this certificate? [no]:
というプロンプトが表示されたら、「yes
」と入力し、キーのインポートを確認します。
Password: Enter keystore password:changeit Owner: CN=ad01, C=US Issuer: CN=ad01, C=US Serial number: 15563d6677a4e9e4582d8a84be683f9 Valid from: Tue Aug 21 01:10:46 ACT 2007 until: Tue Aug 21 01:13:59 ACT 2012 Certificate fingerprints: MD5:D6:56:F0:23:16:E3:62:2C:6F:8A:0A:37:30:A1:84:BE SHA1: 73:73:4E:A6:A0:D1:4E:F4:F3:CD:CE:BE:96:80:35:D2:B4:7C:79:C1 Trust this certificate? [no]:yes Certificate was added to keystore
Microsoft Active Directory
Configuring Crowd to Work with SSL