Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4883

SecurityUtil.updateKeys() fails with NPE when key.location is not specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 4.5.9
    • 4.5
    • core
    • None

      SecurityUtil.updateKeys() throw NPE when key.location is not specified:

      String path = SystemProperty.getProperty(KEY_LOCATION_PROPERTY);
      ...
      File keystore = new File(path);
      

      One can run into this when migrating without adding magnolia.author.key.location parameter.

        Acceptance criteria

              rkovarik Roman Kovařík
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD