Skip to content

Authentication refactor #284

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

Merged
merged 17 commits into from
Nov 27, 2024
Merged
3 changes: 2 additions & 1 deletion config/redirects
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ raw: ${prefix}/master -> ${base}/upcoming/
[*-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/
[*-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",
]

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
2 changes: 0 additions & 2 deletions source/fundamentals.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Fundamentals
/fundamentals/atlas-search
/fundamentals/stable-api
/fundamentals/authentication
/fundamentals/enterprise-authentication
/fundamentals/aggregation
/fundamentals/linq
/fundamentals/bson
Expand All @@ -38,7 +37,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 Down
Loading
Loading