Generate-certificate copy all SAN's

Hi, I’m doing the following;

My HAproxy is listening for HTTPS and terminates it;

bind *:443 ssl crt <cert> generate-certifictes ca-sign-file <ca-sign-file>

It copies the Common Name and one Subject Alt Name into the generated certificate. For example, Facebook, it has one SAN with the value www.facebook.com

But, when looking into facebook’s original certificate; it has more than one SAN:
image

Is it possible to copy all the SAN’s into my generated certificate?