Skip to content

Commit

Permalink
New certificate HTTPS.
Browse files Browse the repository at this point in the history
  • Loading branch information
irinil committed Aug 17, 2020
1 parent f094d91 commit 4605ca6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified src/main/assets/https_cert.bks
Binary file not shown.
Expand Up @@ -44,8 +44,9 @@ public SSLContext getSSLContext() {
}
SSLContext sslContext = null;
try {
sslContext = SSLContext.getInstance("SSLv3");
sslContext = SSLContext.getInstance("SSL");
sslContext.init(keyManagerFactory.getKeyManagers(), null, null);
System.out.println("HttpsProtocol: "+sslContext.getProtocol());
} catch (Exception e) {
e.printStackTrace();
}
Expand Down

0 comments on commit 4605ca6

Please sign in to comment.