Use pre-computed Diffie-Hellman param file instead.

Mozilla recommends using either of the files from RFC 7919 rather than
generating one yourself.
This commit is contained in:
Mads Jensen 2022-01-22 14:18:33 +01:00
parent eef26ae79a
commit 3a5d8a9f5a
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ THE SOFTWARE.
<span v-html="$t('templates.setupSections.ssl.generateDiffieHellmanKeysByRunningThisCommandOnYourServer')"></span>
<br />
<BashPrism :key="`${$props.data.global.nginx.nginxConfigDirectory.computed}-${diffieHellmanValue}`"
:cmd="`openssl dhparam -out ${$props.data.global.nginx.nginxConfigDirectory.computed}/dhparam.pem ${diffieHellmanValue}`"
:cmd="`curl https://ssl-config.mozilla.org/ffdhe2048.txt > ${$props.data.global.nginx.nginxConfigDirectory.computed}/dhparam.pem`"
@copied="codeCopiedEvent('Generate diffie-hellman keys')"
></BashPrism>
</p>