fixed bug with adding more than 1 cert

This commit is contained in:
Andrew Stephan
2014-04-02 15:31:38 -04:00
parent 4a67a0d0f1
commit bfa5d47cf6
@@ -417,7 +417,7 @@ public class HttpRequest {
keyStore.load(null, null);
for (int i = 0; i < PINNED_CERTS.size(); i++) {
keyStore.setCertificateEntry("CA" + i, ca);
keyStore.setCertificateEntry("CA" + i, PINNED_CERTS.get(i));
}
// Create a TrustManager that trusts the CAs in our KeyStore