5 SSL_CTX_set_default_ctlog_list_file, SSL_CTX_set_ctlog_list_file -
6 load a Certificate Transparency log list from a file
10 #include <openssl/ssl.h>
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);
17 SSL_CTX_set_default_ctlog_list_file() loads a list of Certificate Transparency
18 (CT) logs from the default file location, "ct_log_list.cnf", found in the
19 directory where OpenSSL is installed.
21 SSL_CTX_set_ctlog_list_file() loads a list of CT logs from a given path.
23 The expected format of the log list file is:
29 key = <base64-encoded public key here>
33 key = <base64-encoded public key here>
37 These functions will not clear the existing CT log list - it will be appended
40 If an error occurs whilst parsing a particular log entry in the file, that log
41 entry will be skipped.
45 SSL_CTX_set_default_ctlog_list_file() and SSL_CTX_set_ctlog_list_file()
46 return 1 if the log list is successfully loaded, and 0 if an error occurs. In
47 the case of an error, the log list may have been partially loaded.
52 L<ssl_ct_validation_cb(3)>
56 Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
58 Licensed under the OpenSSL license (the "License"). You may not use
59 this file except in compliance with the License. You can obtain a copy
60 in the file LICENSE in the source distribution or at
61 L<https://www.openssl.org/source/license.html>.