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

The Laminas Upgrade broke compatibility when using custom provided certificates. #623

Open
damienwebdev opened this issue Mar 29, 2023 · 0 comments

Comments

@damienwebdev
Copy link

damienwebdev commented Mar 29, 2023

The plugin (as of 1.2.197) is currently broken when using a custom provided php.ini that modifies as follows:

;
; Specialty Certificates 
;
curl.cainfo="${MAGENTO_CLOUD_APP_DIR}/certs/my-cert.cer"

;
; Specialty Certificates
;
openssl.cafile="${MAGENTO_CLOUD_APP_DIR}/certs/my-cert.cer"

My logs are full of:

Unable to enable crypto on TCP connection api.fastly.com: make sure the \"sslcafile\" or \"sslcapath\" option are properly set for the environment

The client configured here and is likely misconfigured.

The offending line in the client.

I would imagine that this should come from the root CA cert of the VM.

This should probably be set to /etc/ssl/certs/ though this does depend on host operating system.

I can't quite tell if this is an issue of this plugin or an issue of the underlying laminas package.

@damienwebdev damienwebdev changed the title Laminas Upgrade breaks plugin The Laminas Upgrade broke compatibility when using custom provided certificates. Jul 27, 2023
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

1 participant