Change the CN of the server certificate

Small change that I added to allow changing the common name of the server certificate, defaults to 'server' as before.