-
Notifications
You must be signed in to change notification settings - Fork 29
Images URLs should be https, rather than http #228
Comments
On Thu, Sep 24, 2015 at 1:27 PM Murray Cumming [email protected]
|
Actually, I now see that the main problem for iOS is that the image URLs really are http rather than https. For instance: They can be served via https just by changing the protocol in the URL: But that's not going to work as long as the certificate is self-signed. It might also have the amazon S3 SSL/TLS problem anyway. |
To avoid this error in iOS 9: " Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file. " See zooniverse/Galaxy-Zoo#228
It’s not that the cert is self-signed, it’s just not valid for that domain name. If you can transform the URLs to the following format then you should be able to access them without any certificate errors:
|
Thanks. Then ideally the server should provide those URLs via the REST queries, I guess. For instance, in results for queries such as this: Then it would be fixed for all clients. The server code is not open source, I believe, so not something that I can fix here on github. |
Unfortunately those URLs are hard-coded in the MongoDB records, so it’s not something we can easily mass-update.
|
How are those URLs generated? Maybe this can be corrected when the database records are created for the next survey subjects. |
Yes, agreed. They’re generated by a script which creates the records, so we can set them differently for any future subjects.
|
Is this script in github somewhere? |
No, I don’t think it’s available anywhere unfortunately.
|
This is really an issue for the people running the servers rather than the people developing the web client code. However:
The AWS S3 server's SSL/TLS support is apparently not as good as it could be.
This is a (slight) problem for app code running on iOS9, such as my ios-galaxyzoo app in progress. It's apparently a known problem with AWS S3, and it's apparently fairly easy to fix on the servers:
http://stackoverflow.com/a/32627003/1123654
Even though I can workaround it in my iOS app, it seems like something that should be fixed for general security reasons.
The text was updated successfully, but these errors were encountered: