delta/dalal-street-android

Removing Server's SSL Certificate

Opened this issue · 3 comments

The server's Certificate is hardcoded in the app which is not a good practice. Find a solution for this. One may be to get a trusted certificate for the server which does not need special whitelisting on the app.

Modified TrustManager to accept all the generated certificates which removes the use of having CERT KEY in the code, and runs server.

This seems to solve the issue but beats the whole point of SSL certificates. @Harsh2098 thoughts?

Do you get OK response from the server though for any RPC method? Can you push the code to new branch, I'll check that