.\" -*- coding: UTF-8 -*- .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .de IX .. .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .if n .ds AD l .\" .\" Required to disable full justification in groff 1.23.0. .\" ======================================================================== .\" .IX Title "OPENSSL\-DHPARAM 1ssl" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH OPENSSL\-DHPARAM 1ssl "5 août 2025" 3.5.2 OpenSSL .if n .ad l .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .nh .SH NOM openssl\-dhparam \- Manipulation et génération de paramètres DH .SH SYNOPSIS .IX Header SYNOPSIS \&\fBopenssl dhparam\fP [\fB\-help\fP] [\fB\-inform\fP \fBDER\fP|\fBPEM\fP] [\fB\-outform\fP \fBDER\fP|\fBPEM\fP] [\fB\-in\fP \fIfilename\fP] [\fB\-out\fP \fIfilename\fP] [\fB\-dsaparam\fP] [\fB\-check\fP] [\fB\-noout\fP] [\fB\-text\fP] [\fB\-verbose\fP] [\fB\-quiet\fP] [\fB\-2\fP] [\fB\-3\fP] [\fB\-5\fP] [\fB\-engine\fP \fIid\fP] [\fB\-rand\fP \fIfiles\fP] [\fB\-writerand\fP \fIfile\fP] [\fB\-provider\fP \fIname\fP] [\fB\-provider\-path\fP \fIpath\fP] [\fB\-provparam\fP \fI[name:]key=value\fP] [\fB\-propquery\fP \fIpropq\fP] [\fInumbits\fP] .SH DESCRIPTION .IX Header DESCRIPTION Cette commande sert à manipuler des fichiers de paramètres DH. .PP See "EXAMPLES" in \fBopenssl\-genpkey\fP\|(1) for examples on how to generate a key using a named safe prime group without generating intermediate parameters. .SH OPTIONS .IX Header OPTIONS .IP \fB\-help\fP 4 .IX Item \-help Afficher un message d'utilisation. .IP "\fB\-inform\fP \fBDER\fP|\fBPEM\fP, \fB\-outform\fP \fBDER\fP|\fBPEM\fP" 4 .IX Item "\-inform DER|PEM, \-outform DER|PEM" The input format and output format; the default is \fBPEM\fP. The object is compatible with the PKCS#3 \fBDHparameter\fP structure. See \fBopenssl\-format\-options\fP\|(1) for details. .IP "\fB\-in\fP \fIfichier\fP" 4 .IX Item "\-in fichier" This specifies the input file to read parameters from or standard input if this option is not specified. .IP "\fB\-out\fP \fIfilename\fP" 4 .IX Item "\-out fichier" This specifies the output file to write parameters to. Standard output is used if this option is not present. The output filename can be the same as the input filename, which leads to replacing the file contents. Note that file I/O is not atomic. The output file is truncated and then written. .IP \fB\-dsaparam\fP 4 .IX Item \-dsaparam If this option is used, DSA rather than DH parameters are read or created; they are converted to DH format. Otherwise, safe primes (such that (p\-1)/2 is also prime) will be used for DH parameter generation. .Sp DH parameter generation with the \fB\-dsaparam\fP option is much faster. Beware that with such DSA\-style DH parameters, a fresh DH key should be created for each use to avoid small\-subgroup attacks that may be possible otherwise. .IP \fB\-check\fP 4 .IX Item \-check Performs numerous checks to see if the supplied parameters are valid and displays a warning if not. .IP "\fB\-2\fP, \fB\-3\fP, \fB\-5\fP" 4 .IX Item "\-2, \-3, \-5" The generator to use, either 2, 3 or 5. If present then the input file is ignored and parameters are generated instead. If not present but \fInumbits\fP is present, parameters are generated with the default generator 2. .IP \fInombrebits\fP 4 .IX Item nombrebits This option specifies that a parameter set should be generated of size \&\fInumbits\fP. It must be the last option. If this option is present then the input file is ignored and parameters are generated instead. If this option is not present but a generator (\fB\-2\fP, \fB\-3\fP or \fB\-5\fP) is present, parameters are generated with a default length of 2048 bits. The minimum length is 512 bits. The maximum length is 10000 bits. .IP \fB\-noout\fP 4 .IX Item \-noout Cette option empêche la sortie des paramètres en version encodée. .IP \fB\-text\fP 4 .IX Item \-text Cette option affiche les paramètres DH sous forme lisible. .IP "\fB\-engine\fP \fIid\fP" 4 .IX Item "\-engine id" Voir « Options de moteur » dans \fBopenssl\fP\|(1). Cette option est obsolète. .IP "\fB\-rand\fP \fIfichiers\fP, \fB\-writerand\fP \fIfichier\fP" 4 .IX Item "\-rand fichiers, \-writerand fichier" Voir « Options d'état aléatoire » dans \fBopenssl\fP\|(1) pour des détails. .IP "\fB\-provider\fP \fInom\fP" 4 .IX Item "\-provider nom" .PD 0 .IP "\fB\-provider\-path\fP \fIchemin\fP" 4 .IX Item "\-provider\-path chemin" .IP "\fB\-provparam\fP \fI[nom:]clé=valeur\fP]" 4 .IX Item "\-provparam [nom:]clé=valeur" .IP "\fB\-propquery\fP \fIpropq\fP" 4 .IX Item "\-propquery propq" .PD Voir « Options de fournisseur » dans \fBopenssl\fP\|(1), \fBprovider\fP\|(7) et \fBproperty\fP\|(7). .IP \fB\-verbose\fP 4 .IX Item \-verbose This option enables the output of progress messages, which is handy when running commands interactively that may take a long time to execute. .IP \fB\-quiet\fP 4 .IX Item \-quiet This option suppresses the output of progress messages, which may be undesirable in batch scripts or pipelines. .SH NOTES .IX Header NOTES This command replaces the \fBdh\fP and \fBgendh\fP commands of previous releases. .SH "VOIR AUSSI" .IX Header "VOIR AUSSI" \&\fBopenssl\fP\|(1), \&\fBopenssl\-pkeyparam\fP\|(1), \&\fBopenssl\-dsaparam\fP\|(1), \&\fBopenssl\-genpkey\fP\|(1). .SH HISTORIQUE .IX Header HISTORIQUE L’option \fB\-engine\fP est obsolète dans OpenSSL 1.0.2b. .PP The \fB\-C\fP option was removed in OpenSSL 3.0. .SH COPYRIGHT .IX Header COPYRIGHT Copyright 2000\-2023 Les auteurs du projet OpenSSL. Tous droits réservés. .PP Sous licence Apache 2.0 (la « Licence »). Vous ne pouvez utiliser ce fichier que conformément à la Licence. Vous trouverez une copie dans le fichier \s-1LICENSE\s0 de la distribution du source ou à l'adresse . .PP .SH TRADUCTION La traduction française de cette page de manuel a été créée par arne, Nicolas François et David Prévot . .PP Cette traduction est une documentation libre ; veuillez vous reporter à la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 .UE concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE. .PP Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à .MT debian-l10n-french@lists.debian.org .ME .