Debian Codegraph @

templates/man3/SSL_CTX_use_certificate.3ssl.pot

raw
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_use_certificate.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: SSL_CTX_use_certificate.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: SSL_CTX_use_certificate.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: SSL_CTX_use_certificate.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_USE_CERTIFICATE 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_CTX_USE_CERTIFICATE"
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_use_certificate, SSL_CTX_use_certificate_ASN1, "
79 "SSL_CTX_use_certificate_file, SSL_use_certificate, SSL_use_certificate_ASN1, "
80 "SSL_use_certificate_file, SSL_CTX_use_certificate_chain_file, "
81 "SSL_use_certificate_chain_file, SSL_CTX_use_PrivateKey, "
82 "SSL_CTX_use_PrivateKey_ASN1, SSL_CTX_use_PrivateKey_file, "
83 "SSL_CTX_use_RSAPrivateKey, SSL_CTX_use_RSAPrivateKey_ASN1, "
84 "SSL_CTX_use_RSAPrivateKey_file, SSL_use_PrivateKey_file, "
85 "SSL_use_PrivateKey_ASN1, SSL_use_PrivateKey, SSL_use_RSAPrivateKey, "
86 "SSL_use_RSAPrivateKey_ASN1, SSL_use_RSAPrivateKey_file, "
87 "SSL_CTX_check_private_key, SSL_check_private_key, SSL_CTX_use_cert_and_key, "
88 "SSL_use_cert_and_key \\&- load certificate and key data"
89 msgstr ""
90
91 #. type: IX
92 #: archlinux debian-trixie debian-unstable
93 #, no-wrap
94 msgid "SYNOPSIS"
95 msgstr ""
96
97 #. type: IX
98 #: archlinux debian-trixie debian-unstable
99 #, no-wrap
100 msgid "Header"
101 msgstr ""
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable
105 #, no-wrap
106 msgid ""
107 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
108 "\\&\n"
109 "\\& int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);\n"
110 "\\& int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, const unsigned char *d);\n"
111 "\\& int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type);\n"
112 "\\& int SSL_use_certificate(SSL *ssl, X509 *x);\n"
113 "\\& int SSL_use_certificate_ASN1(SSL *ssl, const unsigned char *d, int len);\n"
114 "\\& int SSL_use_certificate_file(SSL *ssl, const char *file, int type);\n"
115 "\\&\n"
116 "\\& int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file);\n"
117 "\\& int SSL_use_certificate_chain_file(SSL *ssl, const char *file);\n"
118 "\\&\n"
119 "\\& int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);\n"
120 "\\& int SSL_CTX_use_PrivateKey_ASN1(int pk, SSL_CTX *ctx, const unsigned char *d,\n"
121 "\\& long len);\n"
122 "\\& int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type);\n"
123 "\\& int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa);\n"
124 "\\& int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, long len);\n"
125 "\\& int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type);\n"
126 "\\& int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey);\n"
127 "\\& int SSL_use_PrivateKey_ASN1(int pk, SSL *ssl, const unsigned char *d, long len);\n"
128 "\\& int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type);\n"
129 "\\& int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa);\n"
130 "\\& int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, const unsigned char *d, long len);\n"
131 "\\& int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type);\n"
132 "\\&\n"
133 "\\& int SSL_CTX_check_private_key(const SSL_CTX *ctx);\n"
134 "\\& int SSL_check_private_key(const SSL *ssl);\n"
135 "\\&\n"
136 "\\& int SSL_CTX_use_cert_and_key(SSL_CTX *ctx, X509 *x, EVP_PKEY *pkey, STACK_OF(X509) *chain, int override);\n"
137 "\\& int SSL_use_cert_and_key(SSL *ssl, X509 *x, EVP_PKEY *pkey, STACK_OF(X509) *chain, int override);\n"
138 msgstr ""
139
140 #. type: IX
141 #: archlinux debian-trixie debian-unstable
142 #, no-wrap
143 msgid "DESCRIPTION"
144 msgstr ""
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable
148 msgid ""
149 "These functions load the certificates and private keys into the SSL_CTX or "
150 "SSL object, respectively."
151 msgstr ""
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable
155 msgid ""
156 "The SSL_CTX_* class of functions loads the certificates and keys into the "
157 "SSL_CTX object B<ctx>. The information is passed to SSL objects B<ssl> "
158 "created from B<ctx> with B<SSL_new>\\|(3) by copying, so that changes "
159 "applied to B<ctx> do not propagate to already existing SSL objects."
160 msgstr ""
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable
164 msgid ""
165 "The SSL_* class of functions only loads certificates and keys into a "
166 "specific SSL object. The specific information is kept, when "
167 "\\&B<SSL_clear>\\|(3) is called for this SSL object."
168 msgstr ""
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable
172 msgid ""
173 "\\&B<SSL_CTX_use_certificate()> loads the certificate B<x> into B<ctx>, "
174 "\\&B<SSL_use_certificate()> loads B<x> into B<ssl>. The rest of the "
175 "certificates needed to form the complete certificate chain can be specified "
176 "using the \\&B<SSL_CTX_add_extra_chain_cert>\\|(3) function. On success the "
177 "reference counter of the B<x> is incremented."
178 msgstr ""
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable
182 msgid ""
183 "\\&B<SSL_CTX_use_certificate_ASN1()> loads the ASN1 encoded certificate from "
184 "the memory location B<d> (with length B<len>) into B<ctx>, "
185 "\\&B<SSL_use_certificate_ASN1()> loads the ASN1 encoded certificate into "
186 "B<ssl>."
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable
191 msgid ""
192 "\\&B<SSL_CTX_use_certificate_file()> loads the first certificate stored in "
193 "B<file> into B<ctx>. The formatting B<type> of the certificate must be "
194 "specified from the known types SSL_FILETYPE_PEM, SSL_FILETYPE_ASN1. "
195 "\\&B<SSL_use_certificate_file()> loads the certificate from B<file> into "
196 "B<ssl>. See the NOTES section on why "
197 "B<SSL_CTX_use_certificate_chain_file()> should be preferred."
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux
202 msgid ""
203 "\\&B<SSL_CTX_use_certificate_chain_file()> loads a certificate chain from "
204 "\\&B<file> into B<ctx>. The certificates must be in PEM format and must be "
205 "sorted starting with the subject\\*(Aqs certificate (actual client or server "
206 "certificate), followed by intermediate CA certificates if applicable, and "
207 "ending at the highest level (root) CA. B<SSL_use_certificate_chain_file()> "
208 "is similar except it loads the certificate chain into B<ssl>."
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable
213 msgid ""
214 "\\&B<SSL_CTX_use_PrivateKey()> adds B<pkey> as private key to B<ctx>. B<ctx> "
215 "B<MUST NOT> be NULL. \\&B<SSL_CTX_use_RSAPrivateKey()> adds the private key "
216 "B<rsa> of type RSA to B<ctx>. B<SSL_use_PrivateKey()> adds B<pkey> as "
217 "private key to B<ssl>; \\&B<SSL_use_RSAPrivateKey()> adds B<rsa> as private "
218 "key of type RSA to B<ssl>. If a certificate has already been set and the "
219 "private key does not belong to the certificate an error is returned. To "
220 "change a [certificate/private-key] pair, the new certificate needs to be set "
221 "first with B<SSL_use_certificate()> or \\&B<SSL_CTX_use_certificate()> "
222 "before setting the private key with \\&B<SSL_CTX_use_PrivateKey()> or "
223 "B<SSL_use_PrivateKey()>. On success the reference counter of the B<pkey>/"
224 "B<rsa> is incremented."
225 msgstr ""
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable
229 msgid ""
230 "\\&B<SSL_CTX_use_cert_and_key()> and B<SSL_use_cert_and_key()> assign the "
231 "X.509 certificate B<x>, private key B<key>, and certificate B<chain> onto "
232 "the corresponding B<ssl> or B<ctx>. The B<pkey> argument must be the private "
233 "key of the X.509 certificate B<x>. If the B<override> argument is 0, then "
234 "\\&B<x>, B<pkey> and B<chain> are set only if all were not previously set. "
235 "If B<override> is non-0, then the certificate, private key and chain certs "
236 "are always set. If B<pkey> is NULL, then the public key of B<x> is used as "
237 "the private key. This is intended to be used with hardware (via the ENGINE "
238 "interface) that stores the private key securely, such that it cannot be "
239 "accessed by OpenSSL. The reference count of the public key is incremented "
240 "(twice if there is no private key); it is not copied nor duplicated. This "
241 "allows all private key validations checks to succeed without an actual "
242 "private key being assigned via B<SSL_CTX_use_PrivateKey()>, etc."
243 msgstr ""
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable
247 msgid ""
248 "\\&B<SSL_CTX_use_PrivateKey_ASN1()> adds the private key of type B<pk> "
249 "stored at memory location B<d> (length B<len>) to B<ctx>. "
250 "\\&B<SSL_CTX_use_RSAPrivateKey_ASN1()> adds the private key of type RSA "
251 "stored at memory location B<d> (length B<len>) to B<ctx>. "
252 "\\&B<SSL_use_PrivateKey_ASN1()> and B<SSL_use_RSAPrivateKey_ASN1()> add the "
253 "private key to B<ssl>."
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable
258 msgid ""
259 "\\&B<SSL_CTX_use_PrivateKey_file()> adds the first private key found in "
260 "\\&B<file> to B<ctx>. The formatting B<type> of the private key must be "
261 "specified from the known types SSL_FILETYPE_PEM, SSL_FILETYPE_ASN1. "
262 "\\&B<SSL_CTX_use_RSAPrivateKey_file()> adds the first private RSA key found "
263 "in \\&B<file> to B<ctx>. B<SSL_use_PrivateKey_file()> adds the first private "
264 "key found in B<file> to B<ssl>; B<SSL_use_RSAPrivateKey_file()> adds the "
265 "first private RSA key found to B<ssl>. B<ctx> B<MUST NOT> be NULL."
266 msgstr ""
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable
270 msgid ""
271 "\\&B<SSL_CTX_check_private_key()> checks the consistency of a private key "
272 "with the corresponding certificate loaded into B<ctx>. If more than one key/"
273 "certificate pair (RSA/DSA) is installed, the last item installed will be "
274 "checked. If e.g. the last item was an RSA certificate or key, the RSA key/"
275 "certificate pair will be checked. B<SSL_check_private_key()> performs the "
276 "same check for B<ssl>. If no key/certificate was explicitly added for this "
277 "B<ssl>, the last item added into B<ctx> will be checked."
278 msgstr ""
279
280 #. type: IX
281 #: archlinux debian-trixie debian-unstable
282 #, no-wrap
283 msgid "NOTES"
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable
288 msgid ""
289 "The internal certificate store of OpenSSL can hold several private key/"
290 "certificate pairs at a time. The certificate used depends on the cipher "
291 "selected, see also B<SSL_CTX_set_cipher_list>\\|(3)."
292 msgstr ""
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable
296 msgid ""
297 "When reading certificates and private keys from file, files of type "
298 "SSL_FILETYPE_ASN1 (also known as B<DER>, binary encoding) can only contain "
299 "one certificate or private key, consequently "
300 "\\&B<SSL_CTX_use_certificate_chain_file()> is only applicable to PEM "
301 "formatting. Files of type SSL_FILETYPE_PEM can contain more than one item."
302 msgstr ""
303
304 #. type: Plain text
305 #: archlinux debian-trixie debian-unstable
306 msgid ""
307 "\\&B<SSL_CTX_use_certificate_chain_file()> adds the first certificate found "
308 "in the file to the certificate store. The other certificates are added to "
309 "the store of chain certificates using B<SSL_CTX_add1_chain_cert>\\|(3). "
310 "Note: versions of OpenSSL before 1.0.2 only had a single certificate chain "
311 "store for all certificate types, OpenSSL 1.0.2 and later have a separate "
312 "chain store for each type. B<SSL_CTX_use_certificate_chain_file()> should be "
313 "used instead of the B<SSL_CTX_use_certificate_file()> function in order to "
314 "allow the use of complete certificate chains even when no trusted CA storage "
315 "is used or when the CA issuing the certificate shall not be added to the "
316 "trusted CA storage."
317 msgstr ""
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable
321 msgid ""
322 "If additional certificates are needed to complete the chain during the TLS "
323 "negotiation, CA certificates are additionally looked up in the locations of "
324 "trusted CA certificates, see \\&B<SSL_CTX_load_verify_locations>\\|(3)."
325 msgstr ""
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable
329 msgid ""
330 "The private keys loaded from file can be encrypted. In order to successfully "
331 "load encrypted keys, a function returning the passphrase must have been "
332 "supplied, see \\&B<SSL_CTX_set_default_passwd_cb>\\|(3). (Certificate files "
333 "might be encrypted as well from the technical point of view, it however does "
334 "not make sense as the data in the certificate is considered public anyway.)"
335 msgstr ""
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable
339 msgid ""
340 "All of the functions to set a new certificate will replace any existing "
341 "certificate of the same type that has already been set. Similarly all of the "
342 "functions to set a new private key will replace any private key that has "
343 "already been set. Applications should call B<SSL_CTX_check_private_key>\\|"
344 "(3) or \\&B<SSL_check_private_key>\\|(3) as appropriate after loading a new "
345 "certificate and private key to confirm that the certificate and key match."
346 msgstr ""
347
348 #. type: IX
349 #: archlinux debian-trixie debian-unstable
350 #, no-wrap
351 msgid "RETURN VALUES"
352 msgstr ""
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable
356 msgid ""
357 "On success, the functions return 1. Otherwise check out the error stack to "
358 "find out the reason."
359 msgstr ""
360
361 #. type: IX
362 #: archlinux debian-trixie debian-unstable
363 #, no-wrap
364 msgid "SEE ALSO"
365 msgstr ""
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable
369 msgid ""
370 "\\&B<ssl>\\|(7), B<SSL_new>\\|(3), B<SSL_clear>\\|(3), "
371 "\\&B<SSL_CTX_load_verify_locations>\\|(3), "
372 "\\&B<SSL_CTX_set_default_passwd_cb>\\|(3), \\&B<SSL_CTX_set_cipher_list>\\|"
373 "(3), \\&B<SSL_CTX_set_client_CA_list>\\|(3), "
374 "\\&B<SSL_CTX_set_client_cert_cb>\\|(3), \\&B<SSL_CTX_add_extra_chain_cert>\\|"
375 "(3)"
376 msgstr ""
377
378 #. type: IX
379 #: archlinux debian-trixie debian-unstable
380 #, no-wrap
381 msgid "COPYRIGHT"
382 msgstr ""
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable
386 msgid "Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved."
387 msgstr ""
388
389 #. type: Plain text
390 #: archlinux debian-trixie debian-unstable
391 msgid ""
392 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
393 "this file except in compliance with the License. You can obtain a copy in "
394 "the file LICENSE in the source distribution or at E<lt>https://"
395 "www.openssl.org/source/license.htmlE<gt>."
396 msgstr ""
397
398 #. ========================================================================
399 #. type: IX
400 #: debian-trixie debian-unstable
401 #, no-wrap
402 msgid "SSL_CTX_USE_CERTIFICATE 3SSL"
403 msgstr ""
404
405 #. type: TH
406 #: debian-trixie
407 #, no-wrap
408 msgid "3.5.6"
409 msgstr ""
410
411 #. type: Plain text
412 #: debian-trixie debian-unstable
413 msgid ""
414 "\\&B<SSL_CTX_use_certificate_chain_file()> loads a certificate chain from "
415 "\\&B<file> into B<ctx>. The certificates must be in PEM format and must be "
416 "sorted starting with the subject's certificate (actual client or server "
417 "certificate), followed by intermediate CA certificates if applicable, and "
418 "ending at the highest level (root) CA. B<SSL_use_certificate_chain_file()> "
419 "is similar except it loads the certificate chain into B<ssl>."
420 msgstr ""