Running the deploy script showing up in the director host information gives the following error.
information/pki: Writing certificate to file '/var/lib/icinga2/certs/trusted-master.crt'.
critical/cli: !!! The certificate for CN 'i-0e6f206c0af41622e' is valid and uptodate. Skipping automated renewal.
/tmp/icinga.sh: line 180: Could not retrieve final certificate from host 10.3.1.5: command not found
Writing config to /etc/icinga2/icinga2.conf
Writing config to /etc/icinga2/zones.conf
Writing config to /etc/icinga2/features-available/api.conf
warning/cli: Feature 'api' already enabled.
[2020-04-21 16:24:14 +0200] information/cli: Icinga application loader (version: r2.11.3-1)
[2020-04-21 16:24:14 +0200] information/cli: Loading configuration file(s).
[2020-04-21 16:24:14 +0200] information/ConfigItem: Committing config item(s).
[2020-04-21 16:24:14 +0200] information/ApiListener: My API identity: i-0e6f206c0af41622e
master version: r2.12.0-rc1-1
agent version: r2.11.3-1
It states an error on line 180 of the deploy script, this line has the following pki request in it:
"$ICINGA2_BIN" pki request \
--host "${ICINGA2_CA_NODE}" \
--port "${ICINGA2_CA_PORT}" \
--ticket "${ICINGA2_CA_TICKET}" \
--key "${ICINGA2_SSLDIR}/${ICINGA2_NODENAME}.key" \
--cert "${ICINGA2_SSLDIR}/${ICINGA2_NODENAME}.crt" \
--trustedcert "${ICINGA2_SSLDIR}/trusted-master.crt" \
--ca "${ICINGA2_SSLDIR}/ca.crt"