I have created a custom connector to call on-prem API, this API is my test instance of the ERP system which uses HTTPS as scheme.
I have installed the on-prem data gateway on my laptop and custom connector is configured as bellow,



I have created a connection with Username, Password and DataGateway.
When i test the connector it gives bellow error
"status": 500,
"message": "Received error payload from gateway service with ID 2016645: Substituted: HttpRequestException:<ccon>System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
Can anyone help on this?
Thanks,