DLNA communicates using HTTP (correct?) which is now banned by Apple's new policy.
See: Transport security has blocked a cleartext HTTP
You could set the settings in .plist file as advised above but that would require that you know all the hosts where the DLNA server listens to.
I also believe that you can not change the .plist on the fly.
Can you easily switch DLNA server to run on httpS? Is this a "standard" feature?
What is your recommendation for this problem?
BTW, would you have a good tip for DLNA C++ client with reference implementation?
Related
I'm currently developing my app, developer and a friend told me that have saw all the http requests with the parameter (AFNetworking), how to hide this? And see how these requests? Thank you
Your app should connect to web services over an HTTPS connection. And Apple will require HTTPS connections for iOS apps by the end of 2016.
Check Apple's documentation : Using Networking Securely
Apple rejected an app because it didnt work on their IPv6 network. I've managed to test this on my end using an ipv6 only address and can see that the third party API i'm using is unreachable when using an IPv6-only address.
Any time i try to use the API I get the response
A server with the specified hostname could not be found
The same thing happens if I manually go the URL in safari, whereas other IPv6-ready sites like gmail etc work.
So my question is do I need to get the developers of the API I'm querying to update their servers to support IPv6 in order to get this working, or is there something I should be doing on the app side in order to make this work?
There's no need to change any external servers. It's all about the client. If by this "third party API" you mean they have a library which you include into your app, then perhaps they are doing something in their code that is not working correctly; if this is the case, then you need to ask them to fix their client library.
I have used GCDWebServer for an http server on iOS. However, by the end of the year https will be required. Is there another web server library compatible with https for IOS? I have no idea what is involved with a change like this.
This library supports https -
https://github.com/robbiehanson/CocoaHTTPServer
Although its old but very reliable. Our company have been using it for over 4 years and currently we are in process of switching to 'https'.
I want to record web requests using fiddler of an iOS7 native app which using https protocol (with trusted certificates) to communicate with server. I could able to record the requests and after Https decryption option disabled and its worked fine. When Https decryption option enabled app shows invalid/untrusted certifificate alert and cannot proceed even after installing fiddler certificate in iOS.
Question is,
Is there any way to record Https request/response of iOS7 app using fiddler by imitating any other certificate as trusted certificate or anyother way to do that? any suggestions? any other tools? I got another solution from here but it was not worked.
Thanks in advance
You need to use the Fiddler Certificate Maker add-on to generate certificates that iOS is willing to trust.
See http://blogs.telerik.com/fiddler/posts/12-12-21/using-fiddler-with-apple-ios-devices for more information.
Also keep in mind that some iOS applications (like the AppStore) use a technique called "Certificate Pinning" which means that you cannot decrypt their traffic seamlessly unless you jailbreak the device.
My Blackberry application is connecting to a web server via HTTPS.
However, The SSL certificate of the server is invalid.
I would like to know how to ignore the ssl error on my Blackberry application?
I knew with Android you could overwirte the onReceivedSslError method of Android's api to over come this problem. I don't know if there is some way to do it on Blackberry.
Thanks in advance!
I know of several BlackBerry developers who have expressed concerns over this issue.
While the user can adjust her device security settings to not be notified of SSL certificate issues, there doesn't seem to be a way of doing this programmatically from either inside your application through API, nor through some sort of declaration in the application's .jad file.
Based on the documentation here http://www.blackberry.com/developers/docs/7.1.0api/javax/microedition/io/Connector.html#tls, I just add ";EndToEndDesired" to the connection string. And it works! :)