-
Notifications
You must be signed in to change notification settings - Fork 7
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
Can't access certificates from host. #43
Comments
@liquidcms make sure that your container has the CA certificates installed. In most Linux-based containers, you can do this by installing the ca-certificates package. Try this command inside the container:
|
Hey Steve, thanks for that.. but still no luck. The same curl but with --verbose:
|
After installing CA certificates, verify that the CA certificate bundle exists and is accessible:
Could also be due to missing or outdated CA certificates. Ensure that the CA certificates are up-to-date:
|
deleted previous patches, getting the heavy artillery here, going to get xdebug on it |
XDebug helped out here. Cooked up a patch. |
My latest patch helps when using docker containers retrieving local images https://github.com/user-attachments/files/17000656/dompdf_change_local_http_uri_to_a_file.patch.txt however the patch causes a regression with external images. Should be able to improve it but will need some time. It's not good enough yet. XDebug helps, get the heavy artillery out. |
I can confirm that this resolves the issue. |
We have been struggling with an issue which appears to be host/container related to certificate access. Wondering if anyone has come across this:
Using Lens to access the pod to run curl directly to pull an image file and i get this error:
I have seen posts suggesting the host does not know the public domain name and either setting $settings['file_public_path_url'] or adding entry to hosts file might help; but no luck. Also, this command does work as expected:
wget --no-check-certificate https://our-site.ssc-spc.gc.ca/sites/default/files/inline-images/IMG-20211119-WA0002.jpg -O /tmp/test45.jpg
The text was updated successfully, but these errors were encountered: