Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21594

Incorrect description for "bamboo.agent.ignoreServerCertName" property

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 8.2.2, 9.0.0
    • 8.0.4, 8.1.2
    • Agents, Docker
    • None

      Issue Summary

      Description of "bamboo.agent.ignoreServerCertName" is incorrect. It doesn't disable SSL certificate verification but allows to ignore host name used during certificate issuing.

      Steps to Reproduce

      Read description at Install remote agent page

      Expected Results

      Property bamboo.agent.ignoreServerCertName is correctly explained

      Actual Results

      It says property allows to accept self-signed SSL certificate

      Workaround

      Currently, there is no known workaround for this behaviour. A workaround will be added here when available

            [BAM-21594] Incorrect description for "bamboo.agent.ignoreServerCertName" property

            Alexey Chystoprudov made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Alexey Chystoprudov made changes -
            Affects Version/s Original: 8.0.6 [ 99296 ]
            Alexey Chystoprudov made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Alexey Chystoprudov made changes -
            Fix Version/s New: 9.0.0 [ 100790 ]
            Fix Version/s New: 8.2.2 [ 100690 ]
            Alexey Chystoprudov made changes -
            Description Original: h3. Issue Summary

            When launching the _atlassian-bamboo-agent-installer_ through the bamboo-agent-base docker image, "bamboo.agent.ignoreServerCertName" is ignored.
            h3. Steps to Reproduce

            In the container, start a new agent instance pointing it to a different {_}bamboo.home{_}. The Bamboo server SSL certificate must be self-signed/private and not known to the container's Java truststore.
            {noformat}
            /opt/java/openjdk/bin/java -Dbamboo.home=/var/atlassian/application-data/bamboo-agent2 -Dbamboo.agent.ignoreServerCertName=true -jar /opt/atlassian/bamboo/atlassian-bamboo-agent-installer.jar https://bamboo80.osalva.net/agentServer -t 1be9a785bfdb42afbf40e81c88838de1641b511
            {noformat}
            h3. Expected Results

            The agent should ignore the Bamboo server certificate and continue its bootstrap
            h3. Actual Results

            The agent fails with:
            {noformat}
            PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
            {noformat}
            Tested on docker _latest_ and _8.0.4_ tags.
            h3. Workaround

            Currently, there is no known workaround for this behaviour. A workaround will be added here when available
            New: h3. Issue Summary

            Description of "bamboo.agent.ignoreServerCertName" is incorrect. It doesn't disable SSL certificate verification but allows to ignore host name used during certificate issuing.
            h3. Steps to Reproduce

            Read description at Install remote agent page
            h3. Expected Results

            Property {{bamboo.agent.ignoreServerCertName}} is correctly explained
            h3. Actual Results

            It says property allows to accept self-signed SSL certificate
            h3. Workaround

            Currently, there is no known workaround for this behaviour. A workaround will be added here when available
            Alexey Chystoprudov made changes -
            Summary Original: atlassian-bamboo-agent-installer.jar in bamboo-agent-base docker image ignores "bamboo.agent.ignoreServerCertName" property New: Incorrect description for "bamboo.agent.ignoreServerCertName" property
            Alexey Chystoprudov made changes -
            Remote Link New: This issue links to "+core+ Dogfooding › Test Git Branch Detection › BAM-21594_improve_hostname_verification_description (tardigrade-bamboo)" [ 638941 ]
            Alexey Chystoprudov made changes -
            Link New: This issue duplicates BAM-16022 [ BAM-16022 ]
            Alexey Chystoprudov made changes -
            Status Original: Short Term Backlog [ 12074 ] New: In Progress [ 3 ]
            Alexey Chystoprudov made changes -
            Assignee New: Alexey Chystoprudov [ achystoprudov ]

              achystoprudov Alexey Chystoprudov
              73868399605e Eduardo Alvarenga
              Affected customers:
              1 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: