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

cacert.pem file cannot be found if curl set CURLOPT_CAINFO .pem file inside PHAR #24

Open
kengleong opened this issue May 3, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@kengleong
Copy link

I have tried to use the sdk as a .phar file but seems to get error due to problem with the SSL CA cert. It cant be found.

According to https://bugs.php.net/bug.php?id=69035 filed bug, "cURL is a third-party library. It doesn't know about things like phar". But there is a work around for it. Is it possible to apply the work around in the SDK? In production, we prefer to package vendor dependencies in .phar

@gnongsie gnongsie added the enhancement New feature or request label Jul 26, 2019
@kikmak42
Copy link
Contributor

Hi @kengleong,

Can you please provide additional information on how are you building the phar ? are you building a phar for your application along with this sdk or you are just building a phar of this sdk and using it ?

Also can you share your error logs, which would help us to investigate the issue better ?

@kengleong
Copy link
Author

Hi @kikmak42,

I am building a .phar of this sdk that my application will import and use.

Thanks

@gnongsie
Copy link
Contributor

Hi @kengleong

Thank you for clarifying that. Is it possible to share your error logs during this activity?

That would greatly assist us in understanding how to implement a fix for it.

You can send your error logs to us by email, if you want.

Send it to [email protected] or [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants