-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Updated git_clone to not verify ssl #1387
Conversation
https://stash.z-hub.io/projects/ZP/repos/z-push/browse is no longer an https, due to which clone fails unless no-ssl-verification is enabled.
Their certificate expired, I expect them to fix it. |
I'm seeing an updated cert but it's still failing when I try to upgrade MiaB. Maybe the COMODO CA isn't in the ca-certificates.crt list? |
Can you try curl from the cli on that URL? |
The Error message from the installer:
When I try to curl that specific URL the feedback is:
Using the URl that is found in the browser when looking at the project shows:
As I wasn't able to clone the repo from the command line - as I run into timeouts during this. I assume that bitbucket has some issues currently. But the problem is that this has a negative user experience for MIAB. As most users are not heavy linux users most of them are stuck and become angry at the product. Not sure if we can solve this - as this looks like something is wrong with the bitbucket repo |
As a side note we should be able to set a flag that stops users upgrading/installing in times where we know the process is broken. Currently we are letting the cars pile up rather than put up a road sign stopping them. |
Linking to temporary fix |
FWIW I followed these instructions to install COMODO's crt, and it didn't help. |
Not that this approach is any better, as it downloads the cert from
|
Link to alternative temporary fix #1393 |
@teyc's suggestion is the best one here as it only disables verification for z-push and not everything else as well, although issues with having an incorrect cert could arise in the future. Since they haven't fixed their cert in 10 days we can either wait or work around it... Replace the git_clone line in mailinabox/setup/z-push.sh with:
And rerun mail in a box without redownloading it |
Hi there. 👋 Rather than disabling https for the |
I can't merge this because it downloads z-push over an insecure connection and doesn't check file integrity. Same in #1400, although #1400 could be revised to use our wget_verify bash function which checks the downloaded file against a hash that we put in our script. The site works in my browser. That suggests that the problem isn't that the Z-Push site is broken but that Ubuntu 14.04 may be lacking a certificate in the CA trust root store that Comodo is now using. So another solution might be to securely add a new Comodo certificate to the CA trust root store. But I'm not sure if that's the problem because the site also seems kind of fine when accessed via curl. |
Hi Josh, What about using the official repository from z-push? http://repo.z-hub.io/z-push:/final/Ubuntu_14.04/ |
That'd be fine if it works but I suspect it won't because we're using a newer version of PHP. |
....But it'd be the right way to do this when we switch to Ubuntu 18.04. |
I’ll try using wget_verify so we get a functioning install. I’ll try it tomorrow. And then we can take things from there. 🙂 |
https://stash.z-hub.io/projects/ZP/repos/z-push/browse is no longer an https, due to which clone fails unless no-ssl-verification is enabled.