From d7019099a27925ea33b218827ec24a8d4cc9737e Mon Sep 17 00:00:00 2001 From: Thijs Cadier Date: Fri, 18 Aug 2017 15:20:34 +0200 Subject: [PATCH] Add note about ssl test to readme --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index b6cc604..9091bd0 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,24 @@ All internal logging by mongoc is redirected to the macros in the [log crate](http://doc.rust-lang.org/log/log/index.html). See the `log` docs to configure output in your application. +## SSL test + +There is a test included to connect to a replica set over SSL. To skip +this test: + +``` +SKIP_SSL_CONNECTION_TESTS=true cargo test +``` + +To run this tests fill these environment variables with something appropiate to +connect to a replica set: + +``` +MONGO_RUST_DRIVER_SSL_URI +MONGO_RUST_DRIVER_SSL_PEM_FILE +MONGO_RUST_DRIVER_SSL_CA_FILE +``` + ## Examples See the tests directory for examples of how to use the driver.