SSL TrustManager setup on lower Android APIs
问题 I have an app communicating with a HTTPS RPC. The HTTP server is using a CAcert signed certificate. I'm using a custom TrustManager for validating the certificate. Because I can not be sure, CAcert is included in all devices' trusted key store. Because I want to allow only CAcert to sign a certificate for this connection. However, I'm following Google's best practices. The only thing I changed is: Load the CAcert root certificate from a static byte[] instead a file Replace the last part,