Need help to validate the security certificates while calling the APIs to exchange the data between 2 different Ignition Gateways

I am facing issue when I am trying to validate the security certificate while calling the APIs using system function

image

as shown in above image, currently I am using the bypass_cert_validation as True and it is working fine with this. But when I set value to False then it gives me 500 or sometime 200 error.

Looking for possible solution/workaround for this kind of issue.

This probably means the CA used to sign the certificates these servers are using are not trusted. This is common when they are internal servers signed by an internal CA.

You can add the CA certificates to Ignition's trusted CA list by adding to the supplemental certificates folder.

See Security Certificates | Ignition User Manual