certificate verification failed: unable to get local issuer certificate
tls_config_set_ca_file
tls_config_set_ca_path
tls_init() cfg = tls_config_new() ls_config_set_ca_path(cfg, "/usr/local/etc/mycerts/CA-certificates") tls_config_set_protocols(cfg, TLS_PROTOCOL_TLSv1_3) ctx = tls_client() tls_configure(ctx, cfg) tls_connect_socket(ctx,readsoc, "abc") tls_write(ctx, buf, buflen)
tls_config_set_ca_path(cfg, "/usr/local/etc/mycerts/CA-certificates")
int tcscp = tls_config_set_ca_path(cfg, "/usr/local/etc/mycerts/CA-certificates")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)