Update regen sslcert

Change SSL cert to add CN equal to the hostname or fully qualified domain name if available.
Changes key length to 2048 bits which is the commonly recommended minimum.