From 5485b4898269e1d92af71cdf083bce69c9b0a5bb Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Thu, 2 Jun 2016 10:12:41 +0000 Subject: [PATCH] Added an example for SSL and a certificate. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339268 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../mongodb/mongodb/driver/manager/construct.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/reference/mongodb/mongodb/driver/manager/construct.xml b/reference/mongodb/mongodb/driver/manager/construct.xml index 704364f9fb..a0d2398ce3 100644 --- a/reference/mongodb/mongodb/driver/manager/construct.xml +++ b/reference/mongodb/mongodb/driver/manager/construct.xml @@ -135,6 +135,22 @@ $manager = new MongoDB\Driver\Manager("mongodb://myusername:mypassword@localhost $manager = new MongoDB\Driver\Manager("mongodb://giant:Hell%40Peop%25e@localhost:27017/mydatabase"); +?> +]]> + + + + Connecting to MongoDB with SSL and a certificate: + + + "/full/path/to/cert"] +); ?> ]]>