How to implement HTTPS Adapter by IBM Worklight?

2019-06-14 15:01发布

问题:

I'm building an Worklight adapter that send HTTPS request to server.

With a web browser like Firefox, I can send request by adding exception but I don't know how to do it in Worklight adapter.

Question: what are steps to implement it?

Thanks for any help.

回答1:

Changing http to https is simple, you need to update protocol and port elements in adapter's XML file.

But if you're talking about making a request to backend protected by a self-signed certificate you need to implement this - IBM Worklight Server and self-signed certificates