From 82045aa228da216dbbb7d1c1cbd99183dbbabbba Mon Sep 17 00:00:00 2001 From: Mikael RANDY Date: Thu, 3 Jan 2013 14:49:45 +0100 Subject: [PATCH 1/2] 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 From 92fa6e5236453297e5498970829f256816f74516 Mon Sep 17 00:00:00 2001 From: Mikael RANDY Date: Fri, 8 Mar 2013 23:16:06 +0100 Subject: [PATCH 2/2] Update configuration for Guzzle v3 --- doc/index.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/index.rst b/doc/index.rst index ff77133..b7bcd19 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -237,8 +237,7 @@ the following parameters to avoid the validation error triggered by Guzzle : Behat\MinkExtension\Extension: goutte: guzzle_parameters: - curl.CURLOPT_SSL_VERIFYPEER: false - curl.CURLOPT_CERTINFO: false + ssl.certificate_authority: false * ``Selenium2Driver`` - default javascript driver. It is used by default for ``@javascript`` tagged scenarios, which means that if you didn't changed