Skip to content

Commit

Permalink
fix(ssl): update dhparam generation parameters (#1354)
Browse files Browse the repository at this point in the history
- https://www.sanderverbruggen.com/installing-ghost-with-ssl-on-a-raspberry-pi/
- should speed up dhparam file generation quite a bit
  • Loading branch information
JohnONolan authored Dec 9, 2020
1 parent 898a762 commit 2862388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/nginx/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class NginxExtension extends Extension {
}, {
title: 'Generating Encryption Key (may take a few minutes)',
skip: () => fs.existsSync(dhparamFile),
task: errorWrapper(() => this.ui.sudo(`openssl dhparam -out ${dhparamFile} 2048`))
task: errorWrapper(() => this.ui.sudo(`openssl dhparam -dsaparam -out ${dhparamFile} 2048`))
}, {
title: 'Generating SSL security headers',
skip: () => fs.existsSync(sslParamsFile),
Expand Down

0 comments on commit 2862388

Please sign in to comment.