@nebius/js-sdk - v0.2.54
    Preparing search index...

    Function getSystemRootCAs

    • Loads system root certificates from common paths.

      The function first reads every valid path in NODE_EXTRA_CA_CERTS and SSL_CERT_FILE. It then reads the first common operating-system bundle that exists. It joins all loaded PEM data in that order.

      This is a PEM-file scan. It does not read the Windows certificate store, the macOS Keychain, or Node.js built-in root certificates.

      File errors do not stop SDK initialization. The function writes lookup details to the supplied Logger and returns undefined when it cannot read a non-empty bundle.

      Parameters

      • logger: Logger

        Receives trace and debug details. The function does not log certificate contents.

      Returns Buffer<ArrayBufferLike> | undefined

      Concatenated PEM data, or undefined when no bundle is available.