Merge pull request #195 from mauricios/master
Update docs example for disable SSL certificate verification in Guzzle
This commit is contained in:
@@ -202,10 +202,25 @@ with support for 6 drivers out of the box:
|
||||
my_session:
|
||||
goutte: ~
|
||||
|
||||
.. Tips : HTTPS and self-signed certificate
|
||||
In case you use Behat/Mink/Goutte to test your application, and want to test an
|
||||
application secured with HTTPS, but with a self-signed certificate, you can use
|
||||
the following parameters to avoid the validation error triggered by Guzzle :
|
||||
.. Tips : HTTPS and self-signed certificate
|
||||
In case you use Behat/Mink/Goutte to test your application, and want to test an
|
||||
application secured with HTTPS, but with a self-signed certificate, you can use
|
||||
the following parameters to avoid the validation error triggered by Guzzle:
|
||||
|
||||
* For ``Guzzle 4`` or later:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
default:
|
||||
extensions:
|
||||
Behat\MinkExtension:
|
||||
sessions:
|
||||
my_session:
|
||||
goutte:
|
||||
guzzle_parameters:
|
||||
verify: false
|
||||
|
||||
* For ``Guzzle 3`` or earlier:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user