From e0fb30d76141f8a6d7fe41eb211ceb719a163f10 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Sat, 9 Jul 2016 18:10:31 +0000 Subject: [PATCH] Update MongoDB::__construct() example for SSL and client cert git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339598 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongodb/mongodb/driver/manager/construct.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/reference/mongodb/mongodb/driver/manager/construct.xml b/reference/mongodb/mongodb/driver/manager/construct.xml index c6b95a0f1d..314a8c961a 100644 --- a/reference/mongodb/mongodb/driver/manager/construct.xml +++ b/reference/mongodb/mongodb/driver/manager/construct.xml @@ -144,7 +144,7 @@ $manager = new MongoDB\Driver\Manager("mongodb://myusername:myp%40ss%3Aw%25rd@lo - Connecting to MongoDB with SSL and a certificate: + Connecting to MongoDB with SSL and a client certificate: "/full/path/to/cert"] + [ + "local_cert" => "/path/to/client.pem", + "passphrase" => "Very secretive client.pem passphrase", + ] ); ?> ]]>