Comments (2)
I don't know why this happens - I'm using the internal android api functions to do these web requests, so they should work the same as browser, and I can't really change their behaviour.
What I could try is to provide a setting to completely disable any certificate checks.
from friendica-for-android.
Le 13/06/2012 21:41, Max Weller a écrit :
I don't know why this happens - I'm using the internal android api functions to do these web requests, so they should work the same as browser, and I can't really change their behaviour.
I'm trying to find some litterature on the subject, but my Java
knowledge is getting pretty old and unused. At the very least, it seems
that browser and internal API funcs are NOT supposed to work the same.
At least on Gingerbread, where browser doesn't support SNI (name based
VHost through SSL), but API functions do. That's what leads me into
thinking SNI isn't the problem, but something else in the way StartSSL
works - something about their intermediate CA maybe.
What I could try is to provide a setting to completely disable any certificate checks.
That would be a very nice workaround, of course. A slightly better one
would be to allow self-signed certs - just keeping their fingerprints
and raising an alert when they change.
But the fight isn't over yet :)
Olivier
from friendica-for-android.
Related Issues (20)
- Ability to click on notification and have app lead you to post/comment in question HOT 1
- encoding problems HOT 2
- Error: null in Timeline
- Updating status: choosing crossposting and permissions
- API Login on cgi HOT 6
- Force Close on startup : missing com.google.android.gsf HOT 4
- Self-signed certificates don't prompt user HOT 1
- No SSL Connection HOT 4
- Logging out and relogin will not restore protocol correctly HOT 2
- Publish at Google Play HOT 1
- Andfrnd Uploader Beta, URI and filename appears on uploaded images HOT 2
- Red Compatibility HOT 3
- Show comments with context in timeline (not standalone)
- Show media elements instead of those light blue blocks in timeline
- Documentation of code HOT 4
- Image for the main menu button
- "invalid dataset!" in post view
- SSLException: hostname in certificate didn't match HOT 1
- no login to frendica. thanks java HOT 1
- Include a Changelog Link, within the F-Droid App', on Info' Page. Not Present, as of: 9.0.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from friendica-for-android.