「moodle.orgのSSL証明書」の版間の差分

提供:MoodleDocs
移動先:案内検索
(ページの作成:「{{セキュリティ}} 作成中です - ~~~ == Synopsis == '''NOTE: This has been updated as of 04/11/2013 - Moodle has moved to the GeoTrust Certificate Authority'''...」)
 
編集の要約なし
 
(同じ利用者による、間の64版が非表示)
1行目: 1行目:
{{セキュリティ}}
{{セキュリティ}}


作成中です - [[利用者:Mitsuhiro Yoshida|Mitsuhiro Yoshida]] ([[利用者・トーク:Mitsuhiro Yoshida|トーク]])
== 概要 Synopsis ==
'''注意: このドキュメントは2013年4月11日に更新されました - MoodleはGeoTrust認証局に移行しました。


== Synopsis ==
あなたが管理者として[[通知|利用可能な更新を確認]]または[[自動更新適用|更新をインストール]]する場合、あなたのMoodleサイトはmoodle.orgとコミュニケーションできる必要があります。このコミュニケーションはセキュアHTTPSプロトコル経由で実現されます。あなたのMoodleサイトはmoodle.orgのSSL証明書を検証して  (例 [https://moodle.org/plugins Moodle plugins directory]) 、その身元を確認 (verifies its identity) します。この検証に合格するためには、あなたのサーバにインストールされたmoodle.orgの証明書を発行した [http://ja.wikipedia.org/wiki/%E8%AA%8D%E8%A8%BC%E5%B1%80 認証局 (certificate authority (CA))]の証明書 (PEMフォーマット) が必要です。


'''NOTE: This has been updated as of 04/11/2013 - Moodle has moved to the GeoTrust Certificate Authority'''
moodle.orgのSSL証明書は[http://www.geotrust.com/resources/root-certificates/ 認証局GeoTrust]によって発行されました。


When you, as an administrator, [[Notifications|check for available updates]] or [[Automatic updates deployment|install an update]], your Moodle site needs to communicate with moodle.org. This communication is done via the secure HTTPS protocol. Your Moodle site validates the SSL certificate of moodle.org (such as the [https://moodle.org/plugins Moodle plugins directory]) and verifies its identity. To pass this verification, there must be a certificate (in the PEM format) of the [http://en.wikipedia.org/wiki/Certificate_authority certificate authority (CA)] that issued the certificate for moodle.org installed on your server.
== 問題 Problem ==


The SSL certificate for moodle.org has been issued by the [http://www.geotrust.com/resources/root-certificates/ GeoTrust Certificate Authority].
CA証明書がない場合、リモートサイト (moodle.org) を確認することができないため、あなたのMoodleサイトは (man-in-the-middle attack - 中間者攻撃からあなたを守るため) データ取得を拒否します。証明書の実際の場所に関して、あなたのサーバのOSタイプおよび他の設定に依存します。例えば、Linuxサーバの場合、次の場所にあります: /usr/share/ca-certificates/mozilla/GeoTrust_Primary_Certification_Authority.crt


== Problem ==
CA証明書がない場合、利用可能な更新のチェックおよびンストールに関して、エラーが発生することになります。


If this CA certificate is missing, the remote site (moodle.org) can not be verified and so your Moodle site will refuse to fetch the data (to protect you against so called man-in-the-middle attack). The exact location of the certificate on your server depends on the OS type and other settings. On Linux servers it may be typically found at ''/usr/share/ca-certificates/mozilla/GeoTrust_Primary_Certification_Authority.crt'' for example.
== 解決策 Solutions ==


A missing CA certificate results in an error when checking for available updates and attempting to install them.
=== あなたのオペレーティングシステムをアップデートする (推奨) ===


== Solutions ==
この問題を解決する推奨方法は一般的な認証局のSSL証明書を含むようあなたのサーバのオペレーティングシステムをアップデートすることです。しかし、この方法ではWindowsサーバの問題を解決することはできません。Windowsにおいて、PHP付属のcURLライブラリはOSにインストールされているCA証明書を使用しないため、あなたは下記の異なる解決方法が必要です。


=== Update your operating system (recommended) ===
DebianおよびRedHatベースのディストリビューションではCA証明書は「ca-certificates」パッケージに同梱されます。Gentooサーバでは"app-misc/ca-certificates" ebuild経由で提供されます。あなたのサーバにおいて、OpenSSLライブラリ (libssl) およびcURLライブラリ (libcurl) が最新バージョンであることを確認することも良い考えです。


The recommended way to fix this problem is to update your server's operating system so that it contains recent SSL certificates from common certificate authorities. This does not seem to help for Windows servers though. At Windows, the cURL library bundled with PHP does not use the CA certificates installed in the OS and you will have to use the alternative solution described below.
=== 手動で認証局証明書 (CA certificate) を提供する Provide the CA certificate manually ===


For Debian and RedHat based  distributions, CA certificates are distributed in the ''ca-certificates'' package. Gentoo servers provide them via the ''app-misc/ca-certificates'' ebuild. It's also a good idea to make sure that the OpenSSL libraries (libssl) and cURL libraries (libcurl) are up-to-date on your server.
オペレーティングシステムの更新があなたの選択肢ではない場合、またはサーバ管理者がサーバの認証局証明書 (CA certificate) の更新を適切な理由なしに拒否している場合、またはWindowsサーバのようにオペレーティングシステムにインストールされている認証局証明書 (CA certificate) の更新が問題解決に至らない場合、可能な次善策は[http://curl.haxx.se/ca/ cURL]サイトから一連の必須証明書をダウンロードすることです。ファイル「[http://curl.haxx.se/ca/cacert.pem cacert.pem] 」をダウンロードして、あなたの「moodledata/moodleorgca.crt」ファイルとして配置する必要があります(例 cacert.pemファイルをダウンロードして、moodleorgca.crtにリネームした後、あなたのmoodledataディレクトリにアップロードします)。このファイルがmoodledata内に存在する場合、Moodleはオペレーティングシステムから提供される証明書の代わりに使います。


=== Provide the CA certificate manually ===
あなたのサーバのオペレーティングシステムに対して、上記のように認証局証明書 (CA certificate) を持つことは推奨の解決方法であることを強調すべきです。 moodleorgca.crtベースの解決方法は一時的な対処方法であると考えてください (Windowsサーバでは唯一の解決方法ではありますが)。


If updating the operating system is not an option for you, or the administrator of the server refuses to update the CA certificates on the server (despite there being no good reason for not doing so), or updating the CA installed in the OS did not help (such as in case of Windows servers), a possible workaround is to download the bundle of required certificates from the [http://curl.haxx.se/ca/ cURL] site. You need to download the file [http://curl.haxx.se/ca/cacert.pem cacert.pem] from there and put it into your ''moodledata/moodleorgca.crt'' file (i.e. download the cacert.pem file, rename it to moodleorgca.crt and upload it into your mooodledata). If this file is found in moodledata, Moodle will use it instead of relying on certificates provided by the operating system.
代わりにあなたの新ステムにダウンロードしてインストールすることのできるルート証明書をここから入手することができます: [http://www.geotrust.com/resources/root_certificates/certificates/GeoTrust_Primary_CA.pem GeoTrust Primary CA]
 
It must be highlighted that having the CA certificate on your server's operating system as described above is really the recommended solution. The solution based on moodleorgca.crt should only be considered as a temporary fix (although it seems to be the only way to make it work at Windows servers).
 
Alternatively, the direct root certificate can be found here, which you may download and install on your system.
[http://www.geotrust.com/resources/root_certificates/certificates/GeoTrust_Primary_CA.pem GeoTrust Primary CA]


[[en:SSL_certificate_for_moodle.org]]
[[en:SSL_certificate_for_moodle.org]]

2015年6月8日 (月) 15:24時点における最新版


概要 Synopsis

注意: このドキュメントは2013年4月11日に更新されました - MoodleはGeoTrust認証局に移行しました。

あなたが管理者として利用可能な更新を確認または更新をインストールする場合、あなたのMoodleサイトはmoodle.orgとコミュニケーションできる必要があります。このコミュニケーションはセキュアHTTPSプロトコル経由で実現されます。あなたのMoodleサイトはmoodle.orgのSSL証明書を検証して (例 Moodle plugins directory) 、その身元を確認 (verifies its identity) します。この検証に合格するためには、あなたのサーバにインストールされたmoodle.orgの証明書を発行した 認証局 (certificate authority (CA))の証明書 (PEMフォーマット) が必要です。

moodle.orgのSSL証明書は認証局GeoTrustによって発行されました。

問題 Problem

CA証明書がない場合、リモートサイト (moodle.org) を確認することができないため、あなたのMoodleサイトは (man-in-the-middle attack - 中間者攻撃からあなたを守るため) データ取得を拒否します。証明書の実際の場所に関して、あなたのサーバのOSタイプおよび他の設定に依存します。例えば、Linuxサーバの場合、次の場所にあります: /usr/share/ca-certificates/mozilla/GeoTrust_Primary_Certification_Authority.crt

CA証明書がない場合、利用可能な更新のチェックおよびンストールに関して、エラーが発生することになります。

解決策 Solutions

あなたのオペレーティングシステムをアップデートする (推奨)

この問題を解決する推奨方法は一般的な認証局のSSL証明書を含むようあなたのサーバのオペレーティングシステムをアップデートすることです。しかし、この方法ではWindowsサーバの問題を解決することはできません。Windowsにおいて、PHP付属のcURLライブラリはOSにインストールされているCA証明書を使用しないため、あなたは下記の異なる解決方法が必要です。

DebianおよびRedHatベースのディストリビューションではCA証明書は「ca-certificates」パッケージに同梱されます。Gentooサーバでは"app-misc/ca-certificates" ebuild経由で提供されます。あなたのサーバにおいて、OpenSSLライブラリ (libssl) およびcURLライブラリ (libcurl) が最新バージョンであることを確認することも良い考えです。

手動で認証局証明書 (CA certificate) を提供する Provide the CA certificate manually

オペレーティングシステムの更新があなたの選択肢ではない場合、またはサーバ管理者がサーバの認証局証明書 (CA certificate) の更新を適切な理由なしに拒否している場合、またはWindowsサーバのようにオペレーティングシステムにインストールされている認証局証明書 (CA certificate) の更新が問題解決に至らない場合、可能な次善策はcURLサイトから一連の必須証明書をダウンロードすることです。ファイル「cacert.pem 」をダウンロードして、あなたの「moodledata/moodleorgca.crt」ファイルとして配置する必要があります(例 cacert.pemファイルをダウンロードして、moodleorgca.crtにリネームした後、あなたのmoodledataディレクトリにアップロードします)。このファイルがmoodledata内に存在する場合、Moodleはオペレーティングシステムから提供される証明書の代わりに使います。

あなたのサーバのオペレーティングシステムに対して、上記のように認証局証明書 (CA certificate) を持つことは推奨の解決方法であることを強調すべきです。 moodleorgca.crtベースの解決方法は一時的な対処方法であると考えてください (Windowsサーバでは唯一の解決方法ではありますが)。

代わりにあなたの新ステムにダウンロードしてインストールすることのできるルート証明書をここから入手することができます: GeoTrust Primary CA