-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Review impact of let's encrypt CA change #6403
Comments
test server https://valid-isrgrootx1.letsencrypt.org |
We should also check that our cert pinning code does something reasonable for cross-signed certs. I suspect that might be a common mitigation? |
My current suggestion is a stackoverflow Question and self answer with sample code like the following (with correct certificate of course)
|
I like that! |
Should we post this in our changelog? Or on our website? |
I'm working on a confirmed fix now. Then yes, but stackoverflow is the right forum for the canonical answer. |
The fix works, but is complicated by Junit5 requirements on Android... |
Closing this out. Think the two test cases and stackoverflow + forum post are better than the samples. |
@yschimke Is there advice on how to port this solution with enforcing TLS 1.2 on Android 4.x devices. More specifically how can I provide a particular TLS protocol to the |
Not really you could copy https://github.com/square/okhttp/blob/parent-3.12.12/okhttp-tls/src/main/java/okhttp3/tls/HandshakeCertificates.java and adjust to what you need. Also do you really need to change the call to SSLContext.getInstance? AndroidPlatform tries to do the optimal thing here and 3.12.12 should support these older devices. I think I always get mixed up at whether you are trying to conditionally enable TLSv1.2 or the opposite and keep TLSv1.1 which was dropped later in 3.13. Sorry for the confusion. |
@yschimke Thanks, My issue turned out to be something else. I was adding the call to |
Some links for webviews for bookmarking, but advice is strongly not to do this. How to use OkHttp for loading resources in WebView (DON'T DO IT) https://gerrit.wikimedia.org/r/c/apps/android/wikipedia/+/343294/ https://artemzin.com/blog/use-okhttp-to-load-resources-for-webview/ |
Effective: As of January 11, 2021
https://letsencrypt.org/2020/11/06/own-two-feet.html
Potentially we could promote adoption of Conscrypt for older clients and confirm they are shipping updated CA certs outside of the App?
The text was updated successfully, but these errors were encountered: