Uh oh!
There was an error while loading. Please reload this page.
iOS error cloning https repositories: The SSL certificate is invalid - #246
iOS error cloning https repositories: The SSL certificate is invalid#246isaac wants to merge 1 commit into
Conversation
jspahrsummers
commented
Aug 29, 2013
I've heard of certificate errors with @shawndavenport@sroberts@mastahyeti@arrbee Do you guys have any thoughts on what's going on here? |
shawndavenport
commented
Aug 30, 2013
Hey @isaac, this sounds similar to something I've encountered in the past. Any chance you can check Keychain Access and search for "DigiCert" and let me know if you find any CA certs outside of You should only find the following: The |
jspahrsummers
commented
Aug 30, 2013
@shawndavenport The weird part about it is that it sounds like it's happening only on iOS, not OS X. I don't know if it's even possible to see the system certificates on iOS. |
isaac
commented
Aug 30, 2013
@shawndavenport - looks like I have the same Digicert certificates as you (serial number matches also): |
shawndavenport
commented
Aug 30, 2013
@jspahrsummers: well damn look at that, iOS right there in the subject. Sorry I missed that. So, you can view certs that have been installed in a Profile under @isaac, it seems very unlikely this is the problem, but you might want to look and see if there are any DigiCert CA certs installed under any user profiles and marked untrusted. I wish that error was a bit more helpful. |
isaac
commented
Aug 30, 2013
@shawndavenport - nope those appear to be the only DigiCert CA certs that are installed. I get the same error when running this code on my iPad and in the iOS simulator. There are no certificates listed under |
isaac
commented
Sep 5, 2013
@jspahrsummers - how would you like to proceed with this? I was thinking it might be a good idea to introduce an |
jspahrsummers
commented
Sep 6, 2013
I'm not confident in this fix as-is because it opens a huge security hole. However, adding an |
isaac
commented
Sep 7, 2013
@jspahrsummers - pull request here: #252 |
jspahrsummers
commented
Sep 9, 2013
In the future, can you open separate pull requests, instead of converting issues to PRs? A pull request is just one proposed solution for an issue, so it doesn't always make sense to reuse the issue for it. This case is great example — the real solution will be coming in #252. |


Code to reproduce error:
Full error:
The code above clones the repository successfully on Mac OS X with no errors.
This pull request suppresses the error on iOS, but I'm not sure if this is the right way to go.
Thoughts?