I am running several Atlassian tools behind an Nginx proxy using HTTPS with Mutual TLS (browser needs a valid certificate). This makes it so that the Atlassian products speak to each other over HTTP behind the proxy in order to avoid trying to get them to implement Mutual TLS. I have set up a build sever behind the proxy as well and am trying to set up a remote agent for Bamboo on it. I have downloaded the JAR file to the build server and point toward the bamboo servers HTTP port 8085 with the command:
java -jar atlassian-bamboo-agent-installer-6.1.1.jar http://<private ip address>:8085/bamboo/agentServer/
However I am getting an HTTPS certificate error
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Looking at the logs more I see that the URL is ignoring the port:
Agent bootstrap using endpoint: http://<private ip>/bamboo/agentServer/
How can i get the bamboo agent to recognize the port in the URL?
To achieve the same result without deleting the agent dir, you can run
java -jar agent-installer.jar URL install
The solution was to delete the Bambo Agent home directory and run the correct command. I must have initially typed the URL without the port.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.