haproxy ssl web

Good evening,

I would like to configure my web certificate for several domains that I have added in HAPROXY 1.5.19.

Obs - my cerfificado is for the 3 domains.

Ex: test.domain1.com

I received this structure:

Root Certificate - AddTrustExternalCARoot.crt
Intermediate root - COMODORSAAddTrustCA.crt
Intermediate Root - COMODORSADomainValidationSecureServerCA.crt
Your certificate - xxxxxxxx.crt

I am not too familiar with HAProxy but from their documentation it seems you need to set at least the ssl and crt directives.

From what I can gather the crt directive simply points to a combined file that contains the contents of: Your Site’s Cert + COMODORSADomainValidationSecureServerCA.crt + COMODORSAAddTrustCA.crt + Your Site’s Private Key (that you generated). (e.g. crt /etc/ssl/private/www_mySiteExample_com.pem