Merge pull request #195 from mauricios/master

Update docs example for disable SSL certificate verification in Guzzle
This commit is contained in:
Christophe Coevoet
2015-03-02 11:42:03 +01:00

View File

@@ -202,10 +202,25 @@ with support for 6 drivers out of the box:
my_session: my_session:
goutte: ~ goutte: ~
.. Tips : HTTPS and self-signed certificate .. Tips : HTTPS and self-signed certificate
In case you use Behat/Mink/Goutte to test your application, and want to test an 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 application secured with HTTPS, but with a self-signed certificate, you can use
the following parameters to avoid the validation error triggered by Guzzle : 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 .. code-block:: yaml