Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for TLSv1.1 and TLSv1.2 #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Fmstrat
Copy link

@Fmstrat Fmstrat commented Apr 25, 2015

To heighten SSL security and fix the issue reported here: #97

@@ -287,7 +287,7 @@ public void checkServerTrusted(X509Certificate[] chain, String authType) {
try {
SSLContext context = SSLContext.getInstance("TLS");
context.init(null, trustAllCerts, new SecureRandom());
TRUSTED_FACTORY = context.getSocketFactory();
TRUSTED_FACTORY = new TLSSocketFactory(context);`
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code does not compile because of the trailing `

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, crud. Will need to rebuild. My compiler didn't pick this up because I was making the edits in the cached file.

@Fmstrat
Copy link
Author

Fmstrat commented Aug 7, 2015

Updated to fix the compiler error. Should be good now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants