I'm running Ubuntu LAMP on 16.04
I set up a base domain and www subdomain with SSL certs and they worked fine.
Then I added several subdomains with their own directories and their own SSL certs. They all work fine.
Nevermind. I figured it out. In the config files for the subdomains, the ServerName has to be the full subdomain rather than just the base domain.