-
Notifications
You must be signed in to change notification settings - Fork 111
Conversation
I want to be able to disable the certification verification for guzzle client
|
@@ -54,6 +54,9 @@ public function configure(ArrayNodeDefinition $builder) | |||
->scalarNode('base_url') | |||
->defaultValue('http://localhost') | |||
->end() | |||
->booleanNode('verify') | |||
->defaultValue(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we are supposed to test our own API, which is sometimes self-signed in dev, would it be a bad practice to set ->defaultValue(false)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think disabling the SSL cert check must be done on purpose, not by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple question about general good practices
It would be great if this is merged, I'm using a workaround and this could be quite helpful |
Can the maintainer please accept this PR? Its been open since 2016.. not cool to be honest. |
For now overriding config with reflection - but honestly when the maintainer wakes up - please merge PR. |
For now resorting to this:
|
Thanks for the contribution and sorry that this was never reviewed / merged. This extension was marked as abandoned on packagist a long time ago and we're going to formally archive it now, so I'll close this PR. |
I want to be able to disable the certification verification for guzzle client