Wildcard ssl can be used with multiple subdomains of a domain.So it's cost is high. I f you have multiple subdomains under a domain, you need to purchase a wildcard ssl.
Wildcard certificates secure the common name and all subdomains at the level you specify when you submit your request. Just add an asterisk (*) in the subdomain area to the left of the common name.