Separated SSL certificates for main site and subdomain

I have a SSL cert for the primary URL and also for the sub domain.However the SSL on the sub domain doesn't appear to be working.

Can I use a SSL cert to the main domain and other for the subdomain or I need to use a Wildcard SSL?