Is a signed SSL certificate required for Worklight development?

后端 未结 4 1670
野趣味
野趣味 2021-01-15 15:03

I\'m working on a demo in Worklight version 6.0 where I need to use SSL from iOS and Android to the Worklight Server.

Is there any way to use a self-signed or test c

4条回答
  •  走了就别回头了
    2021-01-15 15:43

    Yes, you can achieve this by doing the following:

    1. Create a self signed certificate that will act as a certificate authority.
    2. Install this certificate on the iOS device (easiest way for me to do this was to host the certificate on a server and visit the link in safari and then download it). The iOS device will now trust any a server with a certificate that has been signed by this certificate authority
    3. Create a new certificate that is signed by the certificate authority you created in step 1.
    4. Use this newly signed certificate on your Worklight server

提交回复
热议问题