Not sure, why you want to set the parameter. Certificates are bound to a 'common name', which is usually a fully qualified domain name. Using different domain names won't work with a certificate issued for a single name. The solution is to use a multi-domain certificate , where one can use as well IP-addresses in the subject alternative fields .
When the same server receives requests under multiple names, these should be listed in the section ns/module/nssock/servers of the NaviServer config file (see also ).