When running setup-app on Debian, the script will run setup-cert and quietly fail due to missing JAVA_HOME.
Running setup-cert separately will report the error to the user, however the error seems to be swallowed when running the main script, setup-app.
https://github.com/guardian/dev-nginx/blob/master/script/setup-cert#L30