1SSL_CTX_SET_CTLOG_LIST_FILE(3) OpenSSL SSL_CTX_SET_CTLOG_LIST_FILE(3)
2
3
4
6 SSL_CTX_set_default_ctlog_list_file, SSL_CTX_set_ctlog_list_file - load
7 a Certificate Transparency log list from a file
8
10 #include <openssl/ssl.h>
11
12 int SSL_CTX_set_default_ctlog_list_file(SSL_CTX *ctx);
13 int SSL_CTX_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
14
16 SSL_CTX_set_default_ctlog_list_file() loads a list of Certificate
17 Transparency (CT) logs from the default file location,
18 "ct_log_list.cnf", found in the directory where OpenSSL is installed.
19
20 SSL_CTX_set_ctlog_list_file() loads a list of CT logs from a specific
21 path. See CTLOG_STORE_new(3) for the file format.
22
24 These functions will not clear the existing CT log list - it will be
25 appended to. To replace the existing list, use SSL_CTX_set0_ctlog_store
26 first.
27
28 If an error occurs whilst parsing a particular log entry in the file,
29 that log entry will be skipped.
30
32 SSL_CTX_set_default_ctlog_list_file() and SSL_CTX_set_ctlog_list_file()
33 return 1 if the log list is successfully loaded, and 0 if an error
34 occurs. In the case of an error, the log list may have been partially
35 loaded.
36
38 ssl(7), SSL_CTX_set_ct_validation_callback(3), CTLOG_STORE_new(3)
39
41 Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
42
43 Licensed under the OpenSSL license (the "License"). You may not use
44 this file except in compliance with the License. You can obtain a copy
45 in the file LICENSE in the source distribution or at
46 <https://www.openssl.org/source/license.html>.
47
48
49
501.1.1q 2022-07-21 SSL_CTX_SET_CTLOG_LIST_FILE(3)