multisite with domain mapping plugin and how to deal with multiple SSL certificates

I have multisite WP with domain mapping. Now I want to have aech subsite to have a custom fqdn each working with SSL and its own SSL certificate.

How do you achieve this if all subsites work on the same virtual server?