The certificate is set as like this ->
https://secure.domainname.com
I actually do not want to know what you are setting this to....

I am asking the what domain the certificate was issued to?

This will not have the htpps: as a prefix but will have been issued to a specific domain name and be either with or without a prefix of www.