diff --git a/src/cloudron.js b/src/cloudron.js index 3246e79ce..81c4c6ff3 100644 --- a/src/cloudron.js +++ b/src/cloudron.js @@ -242,7 +242,7 @@ function configureDefaultServer(callback) { if (!fs.existsSync(certFilePath) || !fs.existsSync(keyFilePath)) { debug('configureDefaultServer: create new cert'); - var certCommand = util.format('openssl req -x509 -newkey rsa:2048 -keyout %s -out %s -days 3650 -subj /CN=%s -nodes', keyFilePath, certFilePath, 'localhost'); + var certCommand = util.format('openssl req -x509 -newkey rsa:2048 -keyout %s -out %s -days 3650 -subj /CN=%s -nodes', keyFilePath, certFilePath, 'cloudron'); safe.child_process.execSync(certCommand); }