A simple Go application to test X-Forwarded-Client-Cert (XFCC) header format in Cloud Foundry environments with mTLS app-to-app routing.
This tool verifies that GoRouter correctly implements the Envoy XFCC format when routing requests over mTLS domains. It checks whether the XFCC header contains:
- ✅ Envoy format:
Hash=<hash>;Subject="<subject>";URI=<uri> - ❌ Raw PEM certificate (bug):
Cert="-----BEGIN CERTIFICATE-----\n..."