Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication refactor (#284) #325

Merged
merged 3 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/redirects
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ raw: ${prefix}/master -> ${base}/upcoming/
[*-master]: ${prefix}/${version}/fundamentals/data-formats/polymorphism/ -> ${base}/${version}/fundamentals/serialization/polymorphic-objects/
[*-master]: ${prefix}/${version}/fundamentals/data-formats/bson/ -> ${base}/${version}/fundamentals/bson/
[*-master]: ${prefix}/${version}/fundamentals/class-mapping/ -> ${base}/${version}/fundamentals/serialization/class-mapping/
[*-v2.30]: ${prefix}/${version}/upgrade/v2/ -> ${base}/${version}/upgrade/
[*-v2.30]: ${prefix}/${version}/upgrade/v3/ -> ${base}/${version}/upgrade/
[v3.0-*]: ${prefix}/${version}/fundamentals/enterprise-authentication/ -> ${base}/${version}/fundamentals/authentication/
1 change: 1 addition & 0 deletions snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ toc_landing_pages = [
"/usage-examples",
"/fundamentals",
"/fundamentals/serialization",
"/fundamentals/authentication",
"/upgrade",
"/fundamentals/database-collection"
]
Expand Down
23 changes: 1 addition & 22 deletions source/connection-troubleshooting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,28 +182,7 @@ the same machine doesn't require any authorization to connect.
X.509 Credential Error
~~~~~~~~~~~~~~~~~~~~~~

If you are using Windows as your operating system, you might encounter an issue in which the
{+driver-short+} is unable to locate an ``X.509`` authentication certificate in memory.
This error is raised with the following error message:

.. code-block:: none
:copyable: false

No credentials are available in the security package

The following section describes a method that may help resolve the issue.

Create and Store the Certificate On-Disk
----------------------------------------

Use the following code to generate any ``X.509`` certificates required by your application:

.. code-block:: csharp

using (X509Certificate2 certWithKey = certOnly.CopyWithPrivateKey(key))
{
return new X509Certificate2(certWithKey.Export(X509ContentType.Pkcs12));
}
.. include:: /includes/troubleshooting/x509.rst

Error Sending Message
~~~~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 1 addition & 3 deletions source/fundamentals.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Fundamentals
Atlas Search </fundamentals/atlas-search>
Stable API </fundamentals/stable-api>
Authentication </fundamentals/authentication>
Enterprise Authentication </fundamentals/enterprise-authentication>
Aggregation </fundamentals/aggregation>
LINQ </fundamentals/linq>
BSON Operations </fundamentals/bson>
Expand All @@ -39,7 +38,6 @@ Fundamentals
- :ref:`csharp-atlas-search`
- :ref:`csharp-stable-api`
- :ref:`csharp-authentication-mechanisms`
- :ref:`csharp-enterprise-authentication-mechanisms`
- :ref:`csharp-aggregation`
- :ref:`csharp-linq`
- :ref:`csharp-bson`
Expand All @@ -51,4 +49,4 @@ Fundamentals
- :ref:`csharp-time-series`
- :ref:`Encrypt Fields <csharp-fle>`
- :ref:`csharp-geo`
- :ref:`csharp-read-write-config`
- :ref:`csharp-read-write-config`
Loading
Loading