You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .evergreen/run-tests.sh
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ set -o errexit # Exit the script with error if any of the commands fail
6
6
# Supported/used environment variables:
7
7
# AUTH Set to enable authentication. Values are: "auth" / "noauth" (default)
8
8
# SSL Set to enable SSL. Values are "ssl" / "nossl" (default)
9
+
# NETTY_SSL_PROVIDER The Netty TLS/SSL protocol provider. Ignored unless SSL is "ssl" and STREAM_TYPE is "netty". Values are "JDK", "OPENSSL", null (a.k.a. "" or '') (default).
9
10
# MONGODB_URI Set the suggested connection MONGODB_URI (including credentials and topology info)
10
11
# TOPOLOGY Allows you to modify variables and the MONGODB_URI based on test topology
Copy file name to clipboardExpand all lines: docs/reference/content/driver-reactive/tutorials/ssl.md
+47-12Lines changed: 47 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,9 @@ title = "TLS/SSL"
10
10
11
11
## TLS/SSL
12
12
13
-
The Java driver supports TLS/SSL connections to MongoDB servers using
14
-
the underlying support for TLS/SSL provided by the JDK.
13
+
By default the Java driver supports TLS/SSL connections to MongoDB servers using
14
+
the underlying support for TLS/SSL provided by the JDK. This can be changed either by utilizing extensibility
15
+
of the [Java SE API]({{< javaseref "api">}}), or via the [Netty API]({{< nettyapiref >}}).
15
16
You can configure the driver to use TLS/SSL either with [`ConnectionString`]({{< apiref "mongodb-driver-core" "com/mongodb/ConnectionString" >}}) or with
This section is based on the documentation for [Oracle JDK](https://www.oracle.com/java/technologies/javase-downloads.html#JDK8),
128
+
so some parts may be inapplicable to your JDK or to the custom TLS/SSL implementation you use.
129
+
95
130
### Configure Trust Store and Key Store
96
131
One may either configure trust stores and key stores specific to the client via
97
132
[`javax.net.ssl.SSLContext.init(KeyManager[] km, TrustManager[] tm, SecureRandom random)`]
@@ -203,4 +238,4 @@ An application will need to set several JVM system properties to set up OCSP sta
203
238
To configure an application to use OCSP stapling, the application must already be set up to connect to a server using TLS, and the server must be set up to staple an OCSP response to the certificate it returns as part of the the TLS handshake.
204
239
205
240
For more information on configuring a Java application to use OCSP, please
206
-
refer to the [`Client-Driven OCSP and OCSP Stapling`]({{< javaseref "technotes/guides/security/jsse/ocsp.html" >}}).
241
+
refer to the [`Client-Driven OCSP and OCSP Stapling`]({{< javaseref "technotes/guides/security/jsse/ocsp.html" >}}).
Copy file name to clipboardExpand all lines: docs/reference/content/driver-scala/tutorials/ssl.md
+38-4Lines changed: 38 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,9 @@ title = "TLS/SSL"
10
10
11
11
## TLS/SSL
12
12
13
-
The Java driver supports TLS/SSL connections to MongoDB servers using
14
-
the underlying support for TLS/SSL provided by the JDK.
13
+
By default the Java driver supports TLS/SSL connections to MongoDB servers using
14
+
the underlying support for TLS/SSL provided by the JDK. This can be changed either by utilizing extensibility
15
+
of the [Java SE API]({{< javaseref "api">}}), or via the [Netty API]({{< nettyapiref >}}).
15
16
You can configure the driver to use TLS/SSL either with [`ConnectionString`]({{< apiref "mongo-scala-driver" "org/mongodb/scala/package$$ConnectionString$.html" >}}) or with
0 commit comments