Troubleshooting APIs published from IBM webMethods API Gateway – Error message appears when you test APIs
Symptoms
When the HTTP ports of an IBM webMethods API Gateway instance are configured with a self-signed certificate, if you test an API published from that instance, then an error message appears.Resolving the problem
Run the following command to add the self-signed certificated used in webMethods API Gateway to the webMethods API Gateway truststore in the following location:InstallDir/jvm/jvm/lib/security/cacerts.keytool -import -trustcacerts -alias alias_name -file certificate_path -keystore cacerts
Sample command keytool -import -trustcacerts -alias mdecert -file C:\apigw\mdeCert.cer -keystore cacerts
Note: If SSL exception message appears even after you import the self-signed certificate to the
mentioned path, then make sure that the
disable-host-name-verifier setting in the
application-dev.yml file is set to true. You
can turn off the hostname verification during the IBM webMethods API Gateway communication with other systems.