jurteam / platform

Jur Beta Platform
https://beta.jur.io
0 stars 0 forks source link

Producer can't call Jur docker due to SSL #375

Open ashishjur opened 4 years ago

ashishjur commented 4 years ago

producer can't send data to consumer jur as it uses HTTPS. The jur uses domain HTTPS that has cert only for test.jur.io domain and not for jur domain. Producer uses docker network name jur to send request in internal communication.

Expected Behavior

Jur docker should accept HTTP request on http://jur/ domain and continue accepting HTTPS requests on https://test.jur.io/ domain

Current Behavior

  1. Requests on http://jur/ are not processed. Gives 400.
  2. Requests on https://jur/ are not processed. Invalid certs
ashishjur commented 4 years ago

We have a temporary solution in place on the test server. We use public https:test.jur.io/ domain.

For better security, we will restrict access of /api/v1/polling/ to only local/internal network. Once that is effective, communication between polling service and jur consumer (JBP) will stop working.