Skip to content

Commit 408d057

Browse files
DOCSP-17059 TLS v1.3 error (#123)
* added TLS v1.3 error to FAQ
1 parent 1f37523 commit 408d057

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

source/faq.txt

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,20 @@ tasks with the ``MongoClientSettings`` class:
6161
For more information on the ``MongoClientSettings`` class, see the
6262
:java-docs:`API Documentation for MongoClientSettings <apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.html>`.
6363

64+
How do I fix: "javax.net.ssl.SSLHandshakeException: extension (5) should not be presented in certificate_request"?
65+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66+
67+
This is a `known error
68+
<https://bugs.openjdk.java.net/browse/JDK-8236039>`__ that can occur
69+
when using the TLS 1.3 protocol with specific versions of the JDK. If
70+
you encounter this error when connecting to your MongoDB instance or
71+
cluster, update your JDK to one of the following patch versions or
72+
newer:
73+
74+
- JDK 11.0.7
75+
- JDK 13.0.3
76+
- JDK 14.0.2
77+
6478
POJOs
6579
-----
6680

@@ -79,10 +93,10 @@ Can I use polymorphism in a POJO accessor?
7993

8094
Yes, by using a discriminator.
8195

82-
What is the discriminator?
83-
~~~~~~~~~~~~~~~~~~~~~~~~~~
96+
What is a discriminator?
97+
~~~~~~~~~~~~~~~~~~~~~~~~
8498

85-
The discriminator is for cases where you want to use inheritance, and
99+
A discriminator is for cases where you want to use inheritance, and
86100
store multiple types of documents within the same collection or parent
87101
document (in case you embed sub-documents).
88102

@@ -133,8 +147,8 @@ For example, the following methods throws an exception during encoding:
133147
private String getField();
134148
public String setField(String x);
135149

136-
How do I fix: org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class X .?
137-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150+
How do I fix: "org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class X."?
151+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138152

139153
This exception means you need to register a codec for the class since
140154
there is none at the moment.

source/includes/quick-start/jdk-tls-issue.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
- JDK 14.0.2
1818

1919
To resolve this error, update your JDK to one of the preceding patch
20-
versions or a newer.
20+
versions or a newer one.

0 commit comments

Comments
 (0)