SSL_CERT_FILE should specify the full path to a file of CA certificates in PEM format. The file may contain any number of CA certificates in sequence with text allowed before, between, and after certificates. When this environment variable is not specified, it defaults to the file cert.pem in the default OpenSSL directory.
The following is an example of the file format.
# Description of certificate -----BEGIN CERTIFICATE----- ... (CA certificate in base64 encoding) ... -----END CERTIFICATE----- # Description of certificate -----BEGIN CERTIFICATE----- ... (CA certificate in base64 encoding) ... -----END CERTIFICATE----- # Description of certificate -----BEGIN CERTIFICATE----- ... (CA certificate in base64 encoding) ... -----END CERTIFICATE-----