Tomcat password encryption will fail on Crowd

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • 17

      Problem

      When upgrading Crowd to 6.2 and having tomcat password encryption, or trying to use it with Crowd 6.2 as per https://confluence.atlassian.com/crowd/encrypting-tomcat-passwords-in-the-server-xml-file-1236443938.html, Crowd will fail to start.

      Steps to Reproduce

      Follow the steps to encrypt Tomcat password on Crowd 6.2 as per our document

      https://confluence.atlassian.com/crowd/encrypting-tomcat-passwords-in-the-server-xml-file-1236443938.html

       

      Expected Results

      Crowd should start without errors, as it does on previous versions_

      Actual Results

      Crowd will fail to start, if you look the catalina.out log file, you'll see the below error complaining about a missing library:

      15-Jan-2025 17:56:20.885 SEVERE [main] org.apache.catalina.connector.Connector.<init> Protocol handler instantiation failed
              java.lang.ClassNotFoundException: com.atlassian.secrets.tomcat.protocol.Http11NioProtocolWithPasswordEncryption

       

      Workaround

       

      • Stop Crowd
      • Copy atlassian-secrets-cli-5.0.7.jar from the <CROWD-INSTALL-DIR> to <CROWD-INSTALL-DIR>/apache-tomcat/lib/
      • Start Crowd

              Assignee:
              Anastas Anastasov (Inactive)
              Reporter:
              Winderson Souza
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: