diff --git a/source/administration/ssl.txt b/source/administration/ssl.txt index 408d0486f27..f72310ef826 100644 --- a/source/administration/ssl.txt +++ b/source/administration/ssl.txt @@ -89,7 +89,7 @@ stats. Because the agent already utilizes SSL for its communications to the MMS servers, this is just a matter of enabling SSL support in MMS itself on a per host basis. -Use the “Edit” host button (i.e. the pencil) on the Hosts page in the +Use the "Edit" host button (i.e. the pencil) on the Hosts page in the MMS console and is currently enabled on a group by group basis by 10gen. @@ -164,18 +164,18 @@ Then connect to a standalone instance, using the following form: .. code-block:: javascript - require ‘rubygems’ - require ‘mongo’ + require 'rubygems' + require 'mongo' - connection = Mongo::Connection.new(‘localhost’, 27017, :ssl => true) + connection = Mongo::Connection.new('localhost', 27017, :ssl => true) Replace ``connection`` with the following if you're connecting to a replica set: .. code-block:: ruby - connection = Mongo::ReplSetConnection.new([‘localhost, 27017’], - [‘localhost’, 27018], + connection = Mongo::ReplSetConnection.new(['localhost', 27017], + ['localhost', 27018], :ssl => true) Here, :program:`mongod` instance run on "``localhost:27017``" and