CA cert store handling.
More...
#include "compile_time.h"
#include "src/lib/cacertstore.h"
#include "src/lib/filehandler.h"
#include "src/lib/log.h"
#include <openssl/x509.h>
◆ find_ca_cert_store()
| const char * find_ca_cert_store |
( |
bool |
silent | ) |
|
Try to find the system ca cert store
- Parameters
-
| silent | Print no error messages? |
- Returns
- const char* or NULL if not found
◆ mympd_read_ca_certificates()
| bool mympd_read_ca_certificates |
( |
struct t_config * |
config | ) |
|
Reads the ca certificates
- Parameters
-
| config | Pointer to central config |
- Returns
- true on success or disabled certificate checking, else false
◆ check_ca_cert_paths
| const char* check_ca_cert_paths[] |
Initial value:= {
"/etc/ssl/ca-bundle.pem",
"/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem",
"/etc/pki/tls/certs/ca-bundle.crt",
"/etc/ssl/certs/ca-bundle.crt",
"/etc/ssl/certs/ca-certificates.crt",
"/var/lib/ca-certificates/ca-bundle.pem",
NULL
}
Paths to check for the ca cert store