For example I have a domain www.store.com which provides sub stores to clients as subdomains client1.store.com, client2.store.com etc..I am using wildcard ssl certificate for store.com and all subdomains.
My client store 1, has a main site and they provide their store site as store.clientsite.com which displays our subdomain for the client. They add a CNAME record in their DNS for store.clientsite.com with alias as client1.store.com.
In my store.com site for the subdomain client1.store.com we add in apache config, Server as client1.store.com and Server Alias as store.clientsite.com in the apache config.
It works perfectly as http://store.clientsite.com, but with https://store.clientsite.com the browser is displaying a warning. The client has tried it with no ssl added and with wild card SSL added. Both gives same result.
If we need to display the https:// site by Redirect permanent / https://client1.store.com/ the http://store.clientsite.com url gets redirected to https://client1.store.com. So it is not possible.
How is it possible to display https://store.clientsite.com with CNAME alias client1.store.com without displaying browser warning and in https://.
Help requested from experts.