If you're using self-signed certificates you'll need to log into the AAP2 Controler/Tower, navigate to Settings > Job Settings - then add one of the following to the Extra Environment Variables:
{
"GIT_SSL_CAINFO": "/etc/custom-ca/bundle-ca.crt",
}
{
"GIT_SSL_NO_VERIFY": "True"
}
Allow the ./bootstrap-aap2.sh script to add the GIT_SSL_NO_VERIFY key automatically with some API and jq magic - otherwise this is now documented in ./docs/aap2-setup.md