Scenario
When uploading SSL/TLS certificates in Terraform Enterprise the full certificate chain must be used in .pem format and the certs must be in this order:
- The Intermediate Certificate - intermediate.crt
- The Root Certificate - TrustedRoot.crt
This is a requirement of the .pem format.
Note that because SSL servers provide the end-entity certificate (aka the serving certificate) to clients, only Intermediate and Root CAs need to be added for SSL validation
Additional Information
-
https://www.digicert.com/kb/ssl-support/pem-ssl-creation.htm