<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:43:38 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-2827] C# says invalid certificate error on Linux Centos</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2827</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;We are using C# driver &quot;Mongo Db driver 2.9.2&quot; in C# API(.NET core version 2.2) deployed in Linux CentOS to connect to Mongo server 4.2 deployed on Linux CentOS. TLS is enabled on Mongo and self signed certificates are used. Same code and certificates are working from Windows machine but on Linux we are getting following error. Please suggest:&lt;/p&gt;

&lt;p&gt;A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector&lt;/p&gt;
{ AllowedLatencyRange = 00:00:00.0150000 }
&lt;p&gt; }. Client view of cluster state is { ClusterId : \&quot;1\&quot;, ConnectionMode : \&quot;Automatic\&quot;, Type : \&quot;Unknown\&quot;, State : \&quot;Disconnected\&quot;, Servers : [{ ServerId: \&quot;&lt;/p&gt;
{ ClusterId : 1, EndPoint : \&quot;Unspecified/ServerName\&quot; }
&lt;p&gt;\&quot;, EndPoint: \&quot;Unspecified/ip-ServerName\&quot;, State: \&quot;Disconnected\&quot;, Type: \&quot;Unknown\&quot;, HeartbeatException: \&quot;MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---&amp;gt; System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.\n at System.Net.Security.SslState.StartSendAuthResetSignal&lt;/p&gt;</description>
                <environment></environment>
        <key id="985724">CSHARP-2827</key>
            <summary>C# says invalid certificate error on Linux Centos</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13202">Works as Designed</resolution>
                                        <assignee username="vincent.kam@mongodb.com">Vincent Kam</assignee>
                                    <reporter username="krati">Krati Singh</reporter>
                        <labels>
                    </labels>
                <created>Thu, 31 Oct 2019 10:01:54 +0000</created>
                <updated>Fri, 27 Oct 2023 13:24:54 +0000</updated>
                            <resolved>Thu, 5 Dec 2019 17:38:45 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2586382" author="vincent.kam" created="Thu, 5 Dec 2019 17:07:06 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=krati&quot; class=&quot;user-hover&quot; rel=&quot;krati&quot;&gt;krati&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m glad to hear you were able to resolve this using a server certificate instead of a wild card certificate. This appears to be a known issue in .NET Core 2.x (see&#160;&lt;a href=&quot;https://github.com/dotnet/corefx/issues/34061&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/dotnet/corefx/issues/34061&lt;/a&gt;), unrelated to our driver. As an alternative option, it appears that upgrading to .NET Core 3.x will also solve the issue on Linux.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;/p&gt;

&lt;p&gt;Vincent&lt;/p&gt;</comment>
                            <comment id="2524899" author="krati" created="Fri, 8 Nov 2019 13:00:55 +0000"  >&lt;p&gt;We could resolve this by using server certificate instead of wild card certificate. &lt;/p&gt;</comment>
                            <comment id="2515912" author="krati" created="Mon, 4 Nov 2019 13:11:24 +0000"  >&lt;p&gt;Please help with some updates on the cause of above issue and probable fix. Thanks in advance!&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvob8n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>