Skip to content

SSL Certificates

For self-hosted GitLab instances with self-signed or internal CA certificates, Auto Merge supports custom CA trust.

Section titled “Base64 (recommended for Docker/Kubernetes)”

Encode your CA certificate and pass it as an environment variable:

Terminal window
# Generate Base64
cat /path/to/ca.crt | base64 -w0

Set CA_CERT_BASE64 with the output:

environment:
- CA_CERT_BASE64=LS0tLS1CRUdJTi...

Mount the certificate file into the container:

volumes:
- /path/to/ca.crt:/certs/ca.crt:ro
environment:
- CA_CERT_PATH=/certs/ca.crt
  • Certificate must be PEM format
  • CA_CERT_BASE64 takes precedence over CA_CERT_PATH
  • The custom CA is trusted in addition to system default CAs
  • Hostname verification remains enabled