obuchmann / odoo-jsonrpc

PHP Odoo Json-RPC connector, prepared for laravel integration
MIT License
34 stars 11 forks source link

[Config] Add guzzle ssl verify config #17

Open vheins opened 2 weeks ago

vheins commented 2 weeks ago

Hello,

I've added a configuration for Guzzle SSL verification. Sometimes, issues arise on the development server when it doesn't use a valid SSL, leading to a GuzzleHttp Exception with cURL error 60: SSL certificate problem.

With this addition, we can disable Guzzle verification through the .env file or config.php

Thanks

to enable Guzzle SSL verify (its default to true)

ODOO_SSL_VERIFY=true

to disable Guzzle SSL verify

ODOO_SSL_VERIFY=false
vheins commented 2 weeks ago

ah i see, ill change it