How to Validate a Certificate Chain Before Applying Certificates to Chef Automate, Chef Automate HA, and Chef Infra Server
Certificate-related failures are one of the most common issues encountered when updating or rotating TLS certificates on Chef Automate, Chef Automate HA, and Chef Infra Server. In most cases the root cause is a malformed, incomplete, or incorrectly ordered certificate chain rather than a problem with the Chef product itself This article explains what a certificate chain is, how trust is established from a server (leaf) certificate through an Intermediate CA up to a Root CA, and provides step-by-step OpenSSL commands to validate every link in the chain **before** attempting to apply certificates to any Chef system. Running these checks pre-emptively will catch the vast majority of certificate problems and prevent failed deployments or broken services.