From 82045aa228da216dbbb7d1c1cbd99183dbbabbba Mon Sep 17 00:00:00 2001 From: Mikael RANDY Date: Thu, 3 Jan 2013 14:49:45 +0100 Subject: [PATCH] Add tips for SSL auto-signed certificates and guzzle check Add tips for SSL auto-signed certificates and guzzle check --- doc/index.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/index.rst b/doc/index.rst index d4ff369..ff77133 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -225,6 +225,21 @@ with support for 5 drivers out of the box: Behat\MinkExtension\Extension: 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 : + + .. code-block:: yaml + + default: + extensions: + Behat\MinkExtension\Extension: + goutte: + guzzle_parameters: + curl.CURLOPT_SSL_VERIFYPEER: false + curl.CURLOPT_CERTINFO: false + * ``Selenium2Driver`` - default javascript driver. It is used by default for ``@javascript`` tagged scenarios, which means that if you didn't changed ``javascript_session`` (another parameter) - you should always enable it (only