I hope this will make sense to you.
The primary web site on the server (centos7) is www.domain.com.
A secondary site is domain.com on the same server but NOT as an alias in the www.domain.com directives.
In other words, they are two separate servers.
Both are set up in the VirtualHost section of httpd.conf of apache 2.2.
The question is, how many SSL certs do I need to get to use both domain names?
Typically, when you get a cert, you give the full name of the server or domain.
In my case, the server name is something like x32.domain.com.
I would prefer not to have to buy two certs but it's ok if I do, the main concern is that I need SSL for both instances.
Finally, how do I set this up?