Introduction
With the introduction of Terraform Enterprise v202506-1 there is support for Redis mTLS as documented here.
Problem
When Terraform Enterprise tries to connect to the Redis environment configured with mTLS the archivist process fails to connect.
The following error can be seen in the logs of the Terraform Enterprise container
{"@level":"error","@message":"failed to start server",
"@module":"archivist","@timestamp":"2025-08-26T14:09:01.031635Z",
"err":"failed to create Redis client: failed to append TLS options: failed to create TLS config: failed to load client key pair: tls: private key does not match public key"}
Prerequisites
- Terraform Enterprise version =< 1.0.0
- Terraform Enterprise configured to use Redis with mTLS
Cause
The issue is the cause of a bug in the releases.
Solutions:
Use Terraform Enterprise version >= 1.0.1
Outcome
Ability to use a Redis environment using mTLS.
Additional Information
Redis mTLS settings for Terraform Enterprise can be found here.