When running the agctl selfcheck system command in an airgapped environment, the health check fails for the Web Service and Harbor Service components. The command returns the following error:
curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain
This indicates that curl cannot verify the legitimacy of the local server due to an untrusted self-signed certificate chain.
TCA 3.4
TCP 5.1
Airgap 3.4
The host system's OpenSSL trust store was missing the local server's CA/root certificate (ca.crt_localairgap), preventing curl from validating the self-signed certificate chain used by the local Harbor and Web services.
Copy the Certificate to the System Trust Store: Copy the local airgap certificate to the /etc/ssl/certs/ directory:
cp /usr/local/airgap/certs.<timestamp>/ca.crt_localairgap /etc/ssl/certs/ca_localairgap.pemUpdate Certificate Symlinks: Rehash the CA certificate store so OpenSSL recognizes the newly added certificate
rehash_ca_certificates.shVerify System Status: Re-run the health check to confirm the SSL verification error is resolved:
agctl selfcheck system