How to bundle SSL certificate before uploading to dashboard

Hi,

I have root certificate , intermediate certificate and end user certificate and private key. I tried uploading the ssl certificate bundling end user certificate and private key and other combinations as well all the three certificates and private key however its giving me tls handshake error from load balancer.

Could you please let me know the right format to bundle the certificate.