curl / Mailing Lists / curl-library / Single Mail


Is it possible to pass SSL certficate BODY into cURL?

From: Mikhail Merkuryev via curl-library <>
Date: Sun, 16 Sep 2018 05:12:13 +0300

We connect to an accounting program.

It creates PEM self-signed certificates (unique for each server).

Ta make a path for this certificate, cURL has CURLOPT_CAINFO option.

Because a) we need just open part of this cert; b) the cert is unique
for each server, we are forced to store it in the data file, not in
Program Files together with app.

Is it possible to pass this open part of cert directly into cURL,
without unpacking into temporary file?
Received on 2018-09-16