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

Public key generating won't work if the site name is too long (> 64 characters)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.6, 1.9.2
    • Fix Version/s: 1.9.8, 2.0
    • Component/s: MNet
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Our site has a lovely name "Reppu: Lahden ammattikorkeakoulun tiedotus- ja verkko-opetusympäristö" which is 71 characters (ä and ö make two each!). This doesn't work as the organizationName variable of the Distinguished Name parameter of the function openssl_csr_new().

      The obvious workaround is to make the name to be shorter, but as there is no warning about this anywhere it might be hard to spot from a production site that has notices turned off.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Mar/10