For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
  • Introduction
    • Overview
    • Retired adapters
      • Overview
      • Result codes
      • Connectivity
      • Authentication
      • Connectivity
      • Dependencies
      • Installation location
      • URL paths
        • Adapter not in Itential Platform
        • Adapter status is red
        • No calls working
        • DEPTH_ZERO_SELF_SIGNED_CERT
        • Wrong response data
        • Wrong request data
        • One or more calls failing
        • Tasks not in Platform
        • Troubleshoot linting and testing
LogoLogo
Open sourceSupportFAQsDocs Home
On this page
  • Issue
  • Cause
  • What to do
TroubleshootSpecific scenarios

DEPTH_ZERO_SELF_SIGNED_CERT error

Was this page helpful?
Previous

Not receiving the expected response

Next
Built with

Issue

The adapter logs show a DEPTH_ZERO_SELF_SIGNED_CERT error when attempting to connect.

Cause

This error occurs when the adapter makes an HTTPS request to a server that presents a self-signed SSL/TLS certificate, and the adapter is not configured to trust it.

What to do

Choose one of the following approaches depending on your environment.

Enable SSL in the service instance configuration. Confirm that ssl.enabled is set to true. This is required before any of the options below will apply.

1"ssl": {
2 "enabled": true,
3 "accept_invalid_cert": false,
4 "ca_file": "",
5 "key_file": "",
6 "cert_file": "",
7 "ecdhCurve": "",
8 "secure_protocol": "SSLv3_method",
9 "ciphers": ""
10}

Accept invalid certificates (development and testing only). Set accept_invalid_cert to true to bypass certificate validation entirely. The adapter will accept the self-signed certificate without verifying it.

Do not use accept_invalid_cert: true in production environments.

1"ssl": {
2 "enabled": true,
3 "accept_invalid_cert": true,
4 ...
5}

Provide a CA file (recommended for production). Save the CA file — which contains the public key of the certificate authority that issued the server’s certificate — on theItential Platform server. Set ca_file to the file path. The adapter will validate the certificate against this CA.

1"ssl": {
2 "enabled": true,
3 "accept_invalid_cert": false,
4 "ca_file": "/root/mycafile",
5 ...
6}

Install the certificate as a trusted certificate. In some environments, you may install the server’s self-signed certificate in the client’s trusted certificate store. Once installed, the adapter will recognize it as valid. Set the appropriate values under ssl in the service instance configuration. See SSL properties for the full property reference.

Obtain a certificate from a trusted CA. For production environments, the recommended approach is to replace the self-signed certificate with one issued by a recognized certificate authority. Once the server presents a trusted certificate, the error will not occur.

If you are unable to resolve the issue, contact the Itential Adapters Team with the log output.