Skip to content
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

Issue With SSL Certificate Verification #297

Closed
ryanteck opened this issue Jun 27, 2019 · 7 comments
Closed

Issue With SSL Certificate Verification #297

ryanteck opened this issue Jun 27, 2019 · 7 comments

Comments

@ryanteck
Copy link
Contributor

We use pi-gen to produce images for our products. However after upgrading our fork to buster seem to be experiencing an issue with open SSL in PHP failing to verify SSL Certificates.

Once the Pi has booted if I run the following the issue will resolve.

sudo apt purge ca-certificates sudo apt install ca-certificates

However I'm not sure why this is happening in the first place as before the buster upgrade didn't have any issues at all.

@hhromic
Copy link
Contributor

hhromic commented Jun 27, 2019

This is a known problem. See #271
You will need to build using a 32 bits host for now, for example under a virtual machine.

@ryanteck
Copy link
Contributor Author

When will this be fixed as it kind of breaks my entire workflow having to use virtual machines. (I have a build server setup in the garage which automates builds with jenkins).

For now I've been able to get around it however guess there would then be more issues then?

@ryanteck
Copy link
Contributor Author

Hmm, we can use a Raspberry Pi to build these images on is what I'm reading in #271?

Looks like the best route to do, I'll report back.

@hhromic
Copy link
Contributor

hhromic commented Jun 27, 2019

It's kind of a complex bug to solve as it seems that a kernel patch is also necessary.
This is by no means the fault of pi-gen, so nothing can be done here.

Yes you can use a Raspberry Pi to build too (as the Foundation is doing) which doesn't require Qemu, therefore avoiding the problem completely. However I'm not sure how much slower is this compared to building in an x86 machine. You don't need to use virtual machines, just a 32 bits host system (Debian Buster recommended).

@ryanteck
Copy link
Contributor Author

Unfortunately I want to use more than 4GB of my Ram so changing to a 32 Bit system in 2019 is hardly practical. I'll sort something out.

@hhromic
Copy link
Contributor

hhromic commented Jul 6, 2019

@ryanteck see PR #307
It was proven possible to build working images with Docker under 64 bits host OS.
You don't need to use 32-bits VMs nor install 32-bits linux. You can give it a try.

@ryanteck
Copy link
Contributor Author

ryanteck commented Jul 6, 2019

Thanks. To be honest I have quite a bit of hassle with docker so its easier for me to VM. But thanks for letting me know!

@ryanteck ryanteck closed this as completed Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants