I am facing issue regarding searching keys from highly secured SEMS server.
Details: - As per the security reasons some PGP World giants have implemented firewall level security to their SEMS server, due to which the connection to their SEMS server has been available to only whitelisted IP in their server. So whenever I sent a request to lookup for keys to that SEMS server the request is executed from my device IP address, and it is rejected by the SEMS server. Now the main point exists here, let’s assume two SEMS server. Server A:- Highly secured and firewall enabled SEMS Server. Server B:- My Server hosting SEMS and Blackberry Enterprise Server. Server A has whitelisted my Server B's IP address, so whenever the request to lookup the PGP keys is sent from blackberry device than the PGP keys are retrieved from it because blackberry sends requests to its parent SEMS Server (i.e Server B), but when we try from an android device we have to use LDAP to search keys which uses it's own IP address and what it does is. IP address:- Device IP address example:- xxx.120.1.25 Address where the request is sent:- [url removed, login to view] So, when the android app tries to connect to Server A, it can't. Connection is refused from SEMS Server A. Exception: [url removed, login to view]: An error occurred while attempting to connect to server [url removed, login to view]: [url removed, login to view]: LDAPException(resultCode=91 (connect error), errorMessage='Unable to establish a connection to server [url removed, login to view]:389 within the configured timeout of 60000 milliseconds.') And, what I am trying to do is, Steps:- 1. Android App will send the SearchRequest command to my Server B SEMS. 2. Server B SEMS will send a request to Server A SEMS. 3. Server B SEMS will receive the keys from Server A SEMS. 4. Server B SEMS will send the keys back to Android App. According to PGP community, this steps are followed by blackberry device but can't get any solutions for Android.