SSL Certificates
For self-hosted GitLab instances with self-signed or internal CA certificates, Auto Merge supports custom CA trust.
Base64 (recommended for Docker/Kubernetes)
Section titled “Base64 (recommended for Docker/Kubernetes)”Encode your CA certificate and pass it as an environment variable:
# Generate Base64cat /path/to/ca.crt | base64 -w0Set CA_CERT_BASE64 with the output:
environment: - CA_CERT_BASE64=LS0tLS1CRUdJTi...File Mount
Section titled “File Mount”Mount the certificate file into the container:
volumes: - /path/to/ca.crt:/certs/ca.crt:roenvironment: - CA_CERT_PATH=/certs/ca.crt- Certificate must be PEM format
CA_CERT_BASE64takes precedence overCA_CERT_PATH- The custom CA is trusted in addition to system default CAs
- Hostname verification remains enabled