Add support for specifying hostname as $1 (turns into CN=)