Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: re-encode public keys from google.jks into p12 format for android (
  • Loading branch information
chingor13 committed Mar 10, 2021
1 parent da34214 commit 83f3702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -81,8 +81,8 @@ public final class GoogleUtils {
public static synchronized KeyStore getCertificateTrustStore()
throws IOException, GeneralSecurityException {
if (certTrustStore == null) {
certTrustStore = SecurityUtils.getJavaKeyStore();
InputStream keyStoreStream = GoogleUtils.class.getResourceAsStream("google.jks");
certTrustStore = SecurityUtils.getPkcs12KeyStore();
InputStream keyStoreStream = GoogleUtils.class.getResourceAsStream("google.p12");
SecurityUtils.loadKeyStore(certTrustStore, keyStoreStream, "notasecret");
}
return certTrustStore;
Expand Down
Binary file not shown.

0 comments on commit 83f3702

Please sign in to comment.