SSL certificate for moodle.org

De MoodleDocs
Revisión del 01:18 5 ene 2013 de German Valero (discusión | contribs.) (update for 2.4 spanish page step 03)

TRADUCCIÓN EN PROGRESO

Resumen

Cuando Usted, como administrador, intenta revisar si existen actualizaciones disponibles o instalar una actualización, su sitio Moodle necesita comunicarse con moodle.org. Esta comunicación se hace por medio del protocolo seguro HTTPS. Su sitio Moodle valida el certificado SSL certificate de moodle.org (como en Moodle plugins directory) y verifica su identidad. Para pasar esta verificación, debe existir un certificado (en el formato PEM) de la autoridad certificadora (CA) que emitió el certificado para moodle.org instalado en su servidor.

El certificado SSL para moodle.org ha sido emitido por DigiCert CA.

Problema

Si este certificado CA faltara, el sitio remoto (moodle.org) no puede ser verificado y por esta razón su sitio Moodle se negará a obtener los datos que necesita (para protegerlo a Usted en contra de algún ataque del estilo de intermediario(man-in-the-middle)). La localización exacta del certificado en su servidor Moodle depende del tipo de Sistema Operativo y otras configuraciones. En servidores Linux, tipicamente se encuentra en /usr/share/ca-certificates/mozilla/DigiCert_High_Assurance_EV_Root_CA.crt por ejemplo.

Un certificado CA faltante resulta en un error al revisar si existen actualizaciones disponibles y al intentar instalarlas.

Soluciones

Actualice su sistema operativo (recomendado)

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. For Debian and RedHat based distributions, these 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.

Proporcione manualmente el certificado

If updating the operating system is not an option for you and the administrator of the server refuses to update the CA certificates on the server (despite there being no good reason for not doing so), a possible workaround is to download the bundle of required certificates from the cURL site. You need to download the file 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.

Debe resaltarse que la solución recomendada es tener el certificado CA en su sistema operativo tal como se describió anterioormente. La solución basada en on moodleorgca.crt solamente debería considerarse como un parche temporal.

    Este error también pudiera deberse a que su sitio Moodle estuviera configurado para correr detrás de un servidor proxy mal configurado.

INFORMACIÓN ADICIONAL IMPORTANTE

Este error al intentar revisar actualizaciones disponibles de Moodle y/o de sus plugins ha sido descrito en https://moodle.org/mod/forum/discuss.php?d=218800 y la solución es la siguiente:

Hay que obtener el archivo ca-bundle.crt disponible en http://curl.haxx.se/ca/cacert.pem - Simplemente copie el contenido (en firefox hacer un "guardar como" hacia un archivo de texto y cambie el nombre a moodleorgca.crt y pónga este archivo en la raíz del subdirectorio moodledata.