Documentation for JIRA 5.1.x. Documentation for other versions of JIRA is available too.
Microsoft Active Directory との読み書き接続を設定する場合、Active Directory サーバーによって生成される SSL 証明書を JIRA サーバーにインストールし、次に、その証明書を JVM キーストアにインストールする必要があります。
On this page:
The information on this page does not apply to JIRA OnDemand.
keystore
にインポートします。証明書を生成するには、接続している Windows ドメイン コントローラーに、以下のコンポーネントをインストールする必要があります。
必要なコンポーネント | 説明 |
---|---|
Internet Information Services (IIS) | Windows Certificate Services をインストールする前に必要とされるものです。 |
Windows Certificate Services | 証明書の発行に使用される認証局(CA)をインストールします。下記のステップ 1 では、このプロセスについて説明しています。 |
Windows 2000 Service Pack 2 | Windows 2000 を使用する場合に必要です。 |
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
アプリケーション サーバーがディレクトリの証明書を信頼できるようにするには、証明書を Java ランタイム環境にインポートする必要があります。JDK は信頼済みの証明書をキーストアと呼ばれるファイルに格納します。既定のキーストア ファイルは cacerts
と呼ばれ、Java インストールの jre\lib\security
サブディレクトリに置かれます。
以下の例では、ディレクトリ サーバーからエクスポートされる証明書ファイルを server-certificate.crt
と表しています。実際に生成された名前と一致するよう、以降の手順を修正する必要があります。
C:\Program Files\Java\jdk1.6.0_45
のようになります。Run the command below, where server-certificate.crt
is the name of the file from your directory server:
keytool -import -keystore .\jre\lib\security\cacerts -file server-certificate.crt
keytool
からパスワードの入力を求められます。既定のキーストア パスワードは changeit
です。When prompted Trust this certificate? [no]:
enter yes
to confirm the key import:
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
You may now use the 'Secure SSL' option when connecting your application to your directory server.
cd $JAVA_HOME
will usually get you there.Run the command below, where server-certificate.crt
is the name of the file from your directory server:
sudo keytool -import -keystore ./jre/lib/security/cacerts -file server-certificate.crt
keytool
からパスワードの入力を求められます。既定のキーストア パスワードは changeit
です。When prompted Trust this certificate? [no]:
enter yes
to confirm the key import:
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
You may now use the 'Secure SSL' option when connecting your application to your directory server.
/Library/Java/Home
.Run the command below, where server-certificate.crt
is the name of the file from your directory server:
sudo keytool -import -keystore ./jre/lib/security/cacerts -file server-certificate.crt
keytool
からパスワードの入力を求められます。既定のキーストア パスワードは changeit
です。When prompted Trust this certificate? [no]:
enter yes
to confirm the key import:
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
You may now use the 'Secure SSL' option when connecting your application to your directory server.
NOTE: After importing the certificate, you'll need to restart your application so that it can flush the cache and load the modifications in the
cacerts
file.
Connecting to an LDAP Directory
Configuring User Directories