Certificate error while calling soap web service fromCode repository

Hi Everyove,

I have created a data connection and added the chain of certificates in data connection and created a webhook . Well this works fine and getting response using Test Webhook.

While importing the same data connection in code repository and calling web service from there getting certificate error: transforms.external.systems._redact_credentials_in_output.SSLError: HTTPSConnectionPool(host=‘abc.com’, port=10443): Max retries exceeded with url: ‘test/testwebservice‘ (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1010)’))). Please any one could assist?

Ensure that you have added the entire chain of certificates to the source. Python environments require all certificates to be present.

I have added all the certificates in the data connection. But AIP Assist is suggesting add the certificate in code repo.