Skip to content

Commit 2862388

Browse files
authored
fix(ssl): update dhparam generation parameters (#1354)
- https://www.sanderverbruggen.com/installing-ghost-with-ssl-on-a-raspberry-pi/ - should speed up dhparam file generation quite a bit
1 parent 898a762 commit 2862388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/nginx/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class NginxExtension extends Extension {
172172
}, {
173173
title: 'Generating Encryption Key (may take a few minutes)',
174174
skip: () => fs.existsSync(dhparamFile),
175-
task: errorWrapper(() => this.ui.sudo(`openssl dhparam -out ${dhparamFile} 2048`))
175+
task: errorWrapper(() => this.ui.sudo(`openssl dhparam -dsaparam -out ${dhparamFile} 2048`))
176176
}, {
177177
title: 'Generating SSL security headers',
178178
skip: () => fs.existsSync(sslParamsFile),

0 commit comments

Comments
 (0)