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:
parent
eef26ae79a
commit
3a5d8a9f5a
|
@ -32,7 +32,7 @@ THE SOFTWARE.
|
||||||
<span v-html="$t('templates.setupSections.ssl.generateDiffieHellmanKeysByRunningThisCommandOnYourServer')"></span>
|
<span v-html="$t('templates.setupSections.ssl.generateDiffieHellmanKeysByRunningThisCommandOnYourServer')"></span>
|
||||||
<br />
|
<br />
|
||||||
<BashPrism :key="`${$props.data.global.nginx.nginxConfigDirectory.computed}-${diffieHellmanValue}`"
|
<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')"
|
@copied="codeCopiedEvent('Generate diffie-hellman keys')"
|
||||||
></BashPrism>
|
></BashPrism>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue