Interview Prep/CI/CD/Jenkins Build and Agent Failures

`ERROR: Error cloning remote repo 'origin'` with `fatal: unable to access ... SSL certificate problem: unable to get local issuer certificate`.

AdvancedTroubleshootingJenkins Build and Agent Failures
Answer

Likely causes → Corporate TLS proxy or private CA not trusted by the agent's Git/Java.

Diagnose → openssl s_client -connect git.example.com:443 -showcerts.

Fix → Install the CA into the OS trust store and into the Java keystore (keytool -importcert), set GIT_SSL_CAINFO if needed. Do not disable verification.

Prevent → Bake the CA bundle into agent images.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Jenkins Build and Agent Failures