<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:41:58 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-2230] TLS Certificate validation fails with RemoteCertificateNameMismatch</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2230</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;When trying to connect to a MongoDB replica set via TLS I&apos;m getting a RemoteCertificateNameMismatch error. This only happens when running in the docker container (not sure if it&apos;s a Linux thing or just Docker) and runs absolutely fine on Windows.&lt;/p&gt;

&lt;p&gt;The Subject of the certificate looks like:&lt;br/&gt;
C=US, O=MongoDirector.com., CN=*.servers.mongodirector.com&lt;/p&gt;

&lt;p&gt;The connection string looks similar to:&lt;br/&gt;
mongodb://SG-rsname-8081.servers.mongodirector.com:27017,SG-rsname-8082.servers.mongodirector.com:27017/supervisor-dev?replicaSet=RS-rsname-0&amp;amp;ssl=true&lt;/p&gt;

&lt;p&gt;I thought maybe it was a .NET core issue on Linux. But I created a simple http call to a URI that also uses a wildcard certificate and it worked fine.&lt;/p&gt;</description>
                <environment>ASP.NET core 2.0&lt;br/&gt;
microsoft/aspnetcore:2.0 docker container</environment>
        <key id="518880">CSHARP-2230</key>
            <summary>TLS Certificate validation fails with RemoteCertificateNameMismatch</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="9">Done</resolution>
                                        <assignee username="vincent.kam@mongodb.com">Vincent Kam</assignee>
                                    <reporter username="dane.barentine@quest.com">Dane Barentine</reporter>
                        <labels>
                            <label>question</label>
                    </labels>
                <created>Thu, 29 Mar 2018 17:12:48 +0000</created>
                <updated>Fri, 5 Apr 2019 13:57:54 +0000</updated>
                            <resolved>Fri, 25 May 2018 19:40:14 +0000</resolved>
                                    <version>2.4.4</version>
                    <version>2.5</version>
                                                    <component>Connectivity</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1902221" author="vincent.kam" created="Fri, 25 May 2018 19:40:14 +0000"  >&lt;p&gt;Closing this issue since we haven&apos;t heard anything further. We can re-open the issue if new information becomes available.&lt;/p&gt;</comment>
                            <comment id="1854984" author="vincent.kam" created="Wed, 4 Apr 2018 14:34:08 +0000"  >&lt;p&gt;I don&apos;t believe it is an SNI issue referenced since the driver throws a different exception in that case (i.e. &quot;MongoDB.Driver.MongoCommandException: Command isMaster failed: no SNI name sent, make sure using a MongoDB 3.4+ driver/shell&quot;).&lt;/p&gt;

&lt;p&gt;I also don&apos;t believe its a wildcard issue because Atlas uses certificates with wildcards for the Common Name, and the C# Driver can connect to Atlas on Linux without any issues.&lt;/p&gt;

&lt;p&gt;I would recommend asking the providers of mongodirector.com for additional assistance.&lt;/p&gt;</comment>
                            <comment id="1849388" author="dane.barentine@quest.com" created="Thu, 29 Mar 2018 17:58:51 +0000"  >&lt;p&gt;I&apos;m wondering if this is related: &lt;a href=&quot;https://github.com/dotnet/corefx/issues/17427&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/dotnet/corefx/issues/17427&lt;/a&gt;&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|htl7pj:</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>