How can we have domain mapping with SSL working. As ssl

How can we have domain mapping with SSL working. As ssl cert is locked to MAINDOMAIN.com how can our client with CLIENTDOMAIN.com use this?