Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-30443

Alternative to commonName field certificate in mnet services.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.13, 1.9.14
    • Fix Version/s: None
    • Component/s: MNet
    • Labels:
      None
    • Environment:
      Red Hat Enterprise Linux 6.1. Apache Httpd 2.2.15. Mysql Server 5.1.52
    • Database:
      MySQL
    • Testing Instructions:
      Hide

      I've open the certificates generated in mnet services and the commonMame was truncated.
      I've revised the x509 standard and the 64 characters is the limit of de field commonName.
      I've revised the mnet/lib.php ant there is a limit of 64 characters in commonName, if this value is greeter, moodle can't get an openssl certificate.

      Show
      I've open the certificates generated in mnet services and the commonMame was truncated. I've revised the x509 standard and the 64 characters is the limit of de field commonName. I've revised the mnet/lib.php ant there is a limit of 64 characters in commonName, if this value is greeter, moodle can't get an openssl certificate.
    • Workaround:
      Hide

      I propose to use another varibles that can't exceed the limit of this field, for example host + cookie.

      Show
      I propose to use another varibles that can't exceed the limit of this field, for example host + cookie.
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      Actually in moodle 1.9.x the request certificate for mnet services uses the $CFG->wwwroot varible, for fill the field commonName of the certificate, limiting the URL to 64 characters to use with mnet services.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: