aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.js')
-rw-r--r--src/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.js b/src/utils.js
index 82a62c43f..7a5c7b7ea 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -125,7 +125,7 @@
125 } 125 }
126 126
127 logger.debug('Gen RSA keys...') 127 logger.debug('Gen RSA keys...')
128 openssl.exec('genrsa', { 'out': utils.certDir + 'peertube.key.pem' }, function (err) { 128 openssl.exec('genrsa', { 'out': utils.certDir + 'peertube.key.pem', '2048': false }, function (err) {
129 if (err) { 129 if (err) {
130 logger.error('Cannot create private key on this pod.', { error: err }) 130 logger.error('Cannot create private key on this pod.', { error: err })
131 return callback(err) 131 return callback(err)