A Buffer contains the certificate data. A string contains a PEM file path.
An array contains PEM file paths in concatenation order. The function
returns the same Buffer instance when the input is a buffer.
Missing, empty, and unreadable files are ignored. If no path produces data,
the function returns undefined; it does not throw.
Loads user-supplied root certificates.
A
Buffercontains the certificate data. A string contains a PEM file path. An array contains PEM file paths in concatenation order. The function returns the sameBufferinstance when the input is a buffer.Missing, empty, and unreadable files are ignored. If no path produces data, the function returns
undefined; it does not throw.