とりあえず SSL_CTX_load_verify_locations() とかで試してみるかな