Specify the file with CA certificates for verification purposes

gdns_set_tls_ca_file(gctx, ca_file)

Arguments

gctx

gdns resolver context created with gdns_resolver()

ca_file

file with Certificate Authority certificates

See also