In order to communicate with the backend securely, the SSL certificate of the backend needs to be imported into the WSO2 keystore.
To accomplish this, follow Importing SSL certificates to a keystore, a section in WSO2 documentation that provides the step-by-step process of importing the certificate correctly into the keystore used by WSO2.