Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-15580

Upgrade to 5.7+ from older Artifactory with access.creds file encrypted with Artifactory key fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 2 - Critical
    • Resolution: Done
    • Affects Version/s: 5.7.0, 5.8.0
    • Fix Version/s: 5.8.1
    • Component/s: None
    • Labels:
    • Severity:
      Critical

      Description

      Artifactory fails to start up after upgraded to 5.7x or 5.8x, when artifactory.key encryption is enabled.

      In $Artifactory/logs/catalina/localhost.xxx.log, it shows:

      02-Jan-2018 22:09:32.737 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.artifactory.webapp.servlet.ArtifactoryHomeConfigListener]
      java.lang.RuntimeException: Failed to execute shared environment conversion: Couldn't convert configs encryption: javax.crypto.BadPaddingException: Given final block not properly padded : Couldn't convert configs encryption: ...

        Attachments

          Activity

            People

            Assignee:
            shayb Shay Bagants
            Reporter:
            shayb Shay Bagants
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-15580 -
                SYNCHRONIZED
                • Last Sync Date: