The Common Name (CN) for the self-signed certificate is the fully qualified host name. The Omni-Gen installer UI captures the host name and domain, along with all the elements of the distinguished name, the keystore, and truststore locations, as part of the configuration. This is then used to build the self-signed certificate.