| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:44+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
# #-#-#-#-# archlinux: SSL_CTX_set_tmp_dh_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 20 |
# |
| 21 |
#. #-#-#-#-# archlinux: SSL_CTX_set_tmp_dh_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 22 |
#. Required to disable full justification in groff 1.23.0. |
| 23 |
#. ======================================================================== |
| 24 |
#. type: IX |
| 25 |
#. #-#-#-#-# debian-trixie: SSL_CTX_set_tmp_dh_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 26 |
#. ======================================================================== |
| 27 |
#. type: IX |
| 28 |
#. #-#-#-#-# debian-unstable: SSL_CTX_set_tmp_dh_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 29 |
#. ======================================================================== |
| 30 |
#. type: IX |
| 31 |
#: archlinux debian-trixie debian-unstable |
| 32 |
#, no-wrap |
| 33 |
msgid "Title" |
| 34 |
msgstr "" |
| 35 |
|
| 36 |
# |
| 37 |
#. Required to disable full justification in groff 1.23.0. |
| 38 |
#. ======================================================================== |
| 39 |
#. type: IX |
| 40 |
#: archlinux |
| 41 |
#, no-wrap |
| 42 |
msgid "SSL_CTX_SET_TMP_DH_CALLBACK 3ssl" |
| 43 |
msgstr "" |
| 44 |
|
| 45 |
#. type: TH |
| 46 |
#: archlinux debian-trixie debian-unstable |
| 47 |
#, no-wrap |
| 48 |
msgid "SSL_CTX_SET_TMP_DH_CALLBACK" |
| 49 |
msgstr "" |
| 50 |
|
| 51 |
#. type: TH |
| 52 |
#: archlinux debian-trixie debian-unstable |
| 53 |
#, no-wrap |
| 54 |
msgid "2026-04-07" |
| 55 |
msgstr "" |
| 56 |
|
| 57 |
#. type: TH |
| 58 |
#: archlinux debian-unstable |
| 59 |
#, no-wrap |
| 60 |
msgid "3.6.2" |
| 61 |
msgstr "" |
| 62 |
|
| 63 |
#. type: TH |
| 64 |
#: archlinux debian-trixie debian-unstable |
| 65 |
#, no-wrap |
| 66 |
msgid "OpenSSL" |
| 67 |
msgstr "" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable |
| 71 |
#, no-wrap |
| 72 |
msgid "NAME" |
| 73 |
msgstr "" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable |
| 77 |
msgid "" |
| 78 |
"SSL_CTX_set_dh_auto, SSL_set_dh_auto, SSL_CTX_set0_tmp_dh_pkey, " |
| 79 |
"SSL_set0_tmp_dh_pkey, SSL_CTX_set_tmp_dh_callback, SSL_CTX_set_tmp_dh, " |
| 80 |
"SSL_set_tmp_dh_callback, SSL_set_tmp_dh \\&- handle DH keys for ephemeral " |
| 81 |
"key exchange" |
| 82 |
msgstr "" |
| 83 |
|
| 84 |
#. type: IX |
| 85 |
#: archlinux debian-trixie debian-unstable |
| 86 |
#, no-wrap |
| 87 |
msgid "SYNOPSIS" |
| 88 |
msgstr "" |
| 89 |
|
| 90 |
#. type: IX |
| 91 |
#: archlinux debian-trixie debian-unstable |
| 92 |
#, no-wrap |
| 93 |
msgid "Header" |
| 94 |
msgstr "" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable |
| 98 |
#, no-wrap |
| 99 |
msgid "" |
| 100 |
"\\& #include E<lt>openssl/ssl.hE<gt>\n" |
| 101 |
"\\&\n" |
| 102 |
"\\& long SSL_CTX_set_dh_auto(SSL_CTX *ctx, int onoff);\n" |
| 103 |
"\\& long SSL_set_dh_auto(SSL *s, int onoff);\n" |
| 104 |
"\\& int SSL_CTX_set0_tmp_dh_pkey(SSL_CTX *ctx, EVP_PKEY *dhpkey);\n" |
| 105 |
"\\& int SSL_set0_tmp_dh_pkey(SSL *s, EVP_PKEY *dhpkey);\n" |
| 106 |
msgstr "" |
| 107 |
|
| 108 |
#. type: Plain text |
| 109 |
#: archlinux debian-trixie debian-unstable |
| 110 |
msgid "" |
| 111 |
"The following functions have been deprecated since OpenSSL 3.0, and can be " |
| 112 |
"hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version " |
| 113 |
"value, see B<openssl_user_macros>\\|(7):" |
| 114 |
msgstr "" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable |
| 118 |
#, no-wrap |
| 119 |
msgid "" |
| 120 |
"\\& void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,\n" |
| 121 |
"\\& DH *(*tmp_dh_callback)(SSL *ssl, int is_export,\n" |
| 122 |
"\\& int keylength));\n" |
| 123 |
"\\& long SSL_CTX_set_tmp_dh(SSL_CTX *ctx, DH *dh);\n" |
| 124 |
"\\&\n" |
| 125 |
"\\& void SSL_set_tmp_dh_callback(SSL *ctx,\n" |
| 126 |
"\\& DH *(*tmp_dh_callback)(SSL *ssl, int is_export,\n" |
| 127 |
"\\& int keylength));\n" |
| 128 |
"\\& long SSL_set_tmp_dh(SSL *ssl, DH *dh);\n" |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: IX |
| 132 |
#: archlinux debian-trixie debian-unstable |
| 133 |
#, no-wrap |
| 134 |
msgid "DESCRIPTION" |
| 135 |
msgstr "" |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable |
| 139 |
msgid "The functions described on this page are relevant for servers only." |
| 140 |
msgstr "" |
| 141 |
|
| 142 |
#. type: Plain text |
| 143 |
#: archlinux debian-trixie debian-unstable |
| 144 |
msgid "" |
| 145 |
"Some ciphersuites may use ephemeral Diffie-Hellman (DH) key exchange. In " |
| 146 |
"these cases, the session data is negotiated using the ephemeral/temporary DH " |
| 147 |
"key and the key supplied and certified by the certificate chain is only used " |
| 148 |
"for signing. Anonymous ciphers (without a permanent server key) also use " |
| 149 |
"ephemeral DH keys." |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable |
| 154 |
msgid "" |
| 155 |
"Using ephemeral DH key exchange yields forward secrecy as the connection can " |
| 156 |
"only be decrypted when the DH key is known. By generating a temporary DH key " |
| 157 |
"inside the server application that is lost when the application is left, it " |
| 158 |
"becomes impossible for an attacker to decrypt past sessions, even if they " |
| 159 |
"get hold of the normal (certified) key, as this key was only used for " |
| 160 |
"signing." |
| 161 |
msgstr "" |
| 162 |
|
| 163 |
#. type: Plain text |
| 164 |
#: archlinux debian-trixie debian-unstable |
| 165 |
msgid "" |
| 166 |
"In order to perform a DH key exchange the server must use a DH group (DH " |
| 167 |
"parameters) and generate a DH key. The server will always generate a new DH " |
| 168 |
"key during the negotiation." |
| 169 |
msgstr "" |
| 170 |
|
| 171 |
#. type: Plain text |
| 172 |
#: archlinux debian-trixie debian-unstable |
| 173 |
msgid "" |
| 174 |
"As generating DH parameters is extremely time consuming, an application " |
| 175 |
"should not generate the parameters on the fly. DH parameters can be reused, " |
| 176 |
"as the actual key is newly generated during the negotiation." |
| 177 |
msgstr "" |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable |
| 181 |
msgid "" |
| 182 |
"Typically applications should use well known DH parameters that have built-" |
| 183 |
"in support in OpenSSL. The macros B<SSL_CTX_set_dh_auto()> and " |
| 184 |
"B<SSL_set_dh_auto()> configure OpenSSL to use the default built-in DH " |
| 185 |
"parameters for the B<SSL_CTX> and B<SSL> objects respectively. Passing a " |
| 186 |
"value of 2 or 1 in the I<onoff> parameter switches it on. If the I<onoff> " |
| 187 |
"parameter is set to 2, it will force the DH key size to 1024 if the " |
| 188 |
"B<SSL_CTX> or B<SSL> security level \\&B<SSL_CTX_set_security_level>\\|(3) " |
| 189 |
"is 0 or 1. Passing a value of 0 switches it off. The default setting is off." |
| 190 |
msgstr "" |
| 191 |
|
| 192 |
#. type: Plain text |
| 193 |
#: archlinux |
| 194 |
msgid "" |
| 195 |
"If \"auto\" DH parameters are switched on then the parameters will be " |
| 196 |
"selected to be consistent with the size of the key associated with the " |
| 197 |
"server\\*(Aqs certificate. If there is no certificate (e.g. for PSK " |
| 198 |
"ciphersuites), then it it will be consistent with the size of the negotiated " |
| 199 |
"symmetric cipher key." |
| 200 |
msgstr "" |
| 201 |
|
| 202 |
#. type: Plain text |
| 203 |
#: archlinux debian-trixie debian-unstable |
| 204 |
msgid "" |
| 205 |
"Applications may supply their own DH parameters instead of using the built-" |
| 206 |
"in values. This approach is discouraged and applications should in " |
| 207 |
"preference use the built-in parameter support described above. Applications " |
| 208 |
"wishing to supply their own DH parameters should call " |
| 209 |
"B<SSL_CTX_set0_tmp_dh_pkey()> or \\&B<SSL_set0_tmp_dh_pkey()> to supply the " |
| 210 |
"parameters for the B<SSL_CTX> or B<SSL> respectively. The parameters should " |
| 211 |
"be supplied in the I<dhpkey> argument as an B<EVP_PKEY> containing DH " |
| 212 |
"parameters. Ownership of the I<dhpkey> value is passed to the B<SSL_CTX> or " |
| 213 |
"B<SSL> object as a result of this call, and so the caller should not free it " |
| 214 |
"if the function call is successful." |
| 215 |
msgstr "" |
| 216 |
|
| 217 |
#. type: Plain text |
| 218 |
#: archlinux debian-trixie debian-unstable |
| 219 |
msgid "" |
| 220 |
"The deprecated macros B<SSL_CTX_set_tmp_dh()> and B<SSL_set_tmp_dh()> do the " |
| 221 |
"same thing as B<SSL_CTX_set0_tmp_dh_pkey()> and B<SSL_set0_tmp_dh_pkey()> " |
| 222 |
"except that the DH parameters are supplied in a B<DH> object instead in the " |
| 223 |
"I<dh> argument, and ownership of the B<DH> object is retained by the " |
| 224 |
"application. Applications should use \"auto\" parameters instead, or call " |
| 225 |
"B<SSL_CTX_set0_tmp_dh_pkey()> or \\&B<SSL_set0_tmp_dh_pkey()> as appropriate." |
| 226 |
msgstr "" |
| 227 |
|
| 228 |
#. type: Plain text |
| 229 |
#: archlinux debian-trixie debian-unstable |
| 230 |
msgid "" |
| 231 |
"An application may instead specify the DH parameters via a callback function " |
| 232 |
"using the functions B<SSL_CTX_set_tmp_dh_callback()> or " |
| 233 |
"B<SSL_set_tmp_dh_callback()> to set the callback for the B<SSL_CTX> or " |
| 234 |
"B<SSL> object respectively. These functions are deprecated. Applications " |
| 235 |
"should instead use \"auto\" parameters, or specify the parameters via " |
| 236 |
"B<SSL_CTX_set0_tmp_dh_pkey()> or B<SSL_set0_tmp_dh_pkey()> as appropriate." |
| 237 |
msgstr "" |
| 238 |
|
| 239 |
#. type: Plain text |
| 240 |
#: archlinux debian-trixie debian-unstable |
| 241 |
msgid "" |
| 242 |
"The callback will be invoked during a connection when DH parameters are " |
| 243 |
"required. The B<SSL> object for the current connection is supplied as an " |
| 244 |
"argument. Previous versions of OpenSSL used the B<is_export> and " |
| 245 |
"B<keylength> arguments to control parameter generation for export and non-" |
| 246 |
"export cipher suites. Modern OpenSSL does not support export ciphersuites " |
| 247 |
"and so these arguments are unused and can be ignored by the callback. The " |
| 248 |
"callback should return the parameters to be used in a DH object. Ownership " |
| 249 |
"of the DH object is retained by the application and should later be freed." |
| 250 |
msgstr "" |
| 251 |
|
| 252 |
#. type: IX |
| 253 |
#: archlinux debian-trixie debian-unstable |
| 254 |
#, no-wrap |
| 255 |
msgid "RETURN VALUES" |
| 256 |
msgstr "" |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: archlinux debian-trixie debian-unstable |
| 260 |
msgid "All of these functions/macros return 1 for success or 0 on error." |
| 261 |
msgstr "" |
| 262 |
|
| 263 |
#. type: IX |
| 264 |
#: archlinux debian-trixie debian-unstable |
| 265 |
#, no-wrap |
| 266 |
msgid "SEE ALSO" |
| 267 |
msgstr "" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux debian-trixie debian-unstable |
| 271 |
msgid "" |
| 272 |
"\\&B<ssl>\\|(7), B<SSL_CTX_set_cipher_list>\\|(3), " |
| 273 |
"\\&B<SSL_CTX_set_options>\\|(3), \\&B<openssl-ciphers>\\|(1), B<openssl-" |
| 274 |
"dhparam>\\|(1)" |
| 275 |
msgstr "" |
| 276 |
|
| 277 |
#. type: IX |
| 278 |
#: archlinux debian-trixie debian-unstable |
| 279 |
#, no-wrap |
| 280 |
msgid "COPYRIGHT" |
| 281 |
msgstr "" |
| 282 |
|
| 283 |
#. type: Plain text |
| 284 |
#: archlinux debian-trixie debian-unstable |
| 285 |
msgid "Copyright 2001-2025 The OpenSSL Project Authors. All Rights Reserved." |
| 286 |
msgstr "" |
| 287 |
|
| 288 |
#. type: Plain text |
| 289 |
#: archlinux debian-trixie debian-unstable |
| 290 |
msgid "" |
| 291 |
"Licensed under the Apache License 2.0 (the \"License\"). You may not use " |
| 292 |
"this file except in compliance with the License. You can obtain a copy in " |
| 293 |
"the file LICENSE in the source distribution or at E<lt>https://" |
| 294 |
"www.openssl.org/source/license.htmlE<gt>." |
| 295 |
msgstr "" |
| 296 |
|
| 297 |
#. ======================================================================== |
| 298 |
#. type: IX |
| 299 |
#: debian-trixie debian-unstable |
| 300 |
#, no-wrap |
| 301 |
msgid "SSL_CTX_SET_TMP_DH_CALLBACK 3SSL" |
| 302 |
msgstr "" |
| 303 |
|
| 304 |
#. type: TH |
| 305 |
#: debian-trixie |
| 306 |
#, no-wrap |
| 307 |
msgid "3.5.6" |
| 308 |
msgstr "" |
| 309 |
|
| 310 |
#. type: Plain text |
| 311 |
#: debian-trixie debian-unstable |
| 312 |
msgid "" |
| 313 |
"If \"auto\" DH parameters are switched on then the parameters will be " |
| 314 |
"selected to be consistent with the size of the key associated with the " |
| 315 |
"server's certificate. If there is no certificate (e.g. for PSK " |
| 316 |
"ciphersuites), then it it will be consistent with the size of the negotiated " |
| 317 |
"symmetric cipher key." |
| 318 |
msgstr "" |