Yes, you need to merge the custom CA certs with the GoDaddy cert file to create a combined cert file that can be used as the value for the ca-file option in your HAProxy backend server configuration. The correct order for the certificates in the combined file is:
The leaf certificate (your GoDaddy wildcard cert)
The intermediate certificate (GoDaddy's cert chain)
The root certificate (your custom CA cert)
To create the combined cert file, you can use a text editor to copy and paste the contents of each certificate file into a single file in the correct order. Alternatively, you can use the cat command in Linux to concatenate the files, like this:
cat leaf.crt intermediate.crt customCA.crt > combined_cert.pem
Once you have created the combined cert file, you can update your HAProxy backend server configuration to use the ssl verify required ca-file option, like this:
backend api.qa.domain.com_loggingservice_http_333_POOL
mode http
http-request return status 503 content-type "text/html; charset=utf-8" lf-file /etc/hapee-2.4/apps/app_offline.htm if { nbsrv() le 0 }
balance roundrobin
dynamic-cookie-key Av3ryS3curek3y
option httpchk GET /loggingservice/v1/_healthcheck HTTP/1.1
http-check send hdr host api.qa.domain.com
http-check expect status 200
server QA_SERVER1_Node 10.133.20.24:333 check ssl verify required ca-file /path/to/combined_cert.pem
With this configuration, HAProxy will verify the SSL certificates presented by the backend servers using the custom CA cert, and the health check should pass if the certificates are valid.