<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:15:44 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>[SERVER-70271] TLS Authentication not working for self signed certifcates.</title>
                <link>https://jira.mongodb.org/browse/SERVER-70271</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;command issued:&lt;/p&gt;

&lt;p&gt;mongo -&lt;del&gt;tls --host 127.0.0.1 --tlsCAFile /etc/ssl/self/root_self_CA.pem &#160;&lt;/del&gt;&lt;del&gt;tlsCertificateKeyFile /etc/ssl/self/mongodb_client.pem --tlsCertificateKeyFilePassword admin@123 --tlsAllowInvalidCertificates -u mongouser -p &#160;&lt;/del&gt;-authenticationDatabase admin&lt;/p&gt;

&lt;p&gt;Log of Mongodb:&lt;/p&gt;

{&quot;t&quot;:\{&quot;$date&quot;:&quot;2022-10-06T08:08:57.920-04:00&quot;}
&lt;p&gt;,&quot;s&quot;:&quot;E&quot;, &#160;&quot;c&quot;:&quot;NETWORK&quot;, &#160;&quot;id&quot;:23256, &#160; &quot;ctx&quot;:&quot;conn14&quot;,&quot;msg&quot;:&quot;SSL peer certificate validation failed&quot;,&quot;attr&quot;:{&quot;error&quot;:&quot;SSL peer certificate validation failed: self signed certificate&quot;}}&lt;/p&gt;
{&quot;t&quot;:\{&quot;$date&quot;:&quot;2022-10-06T08:08:57.920-04:00&quot;}
&lt;p&gt;,&quot;s&quot;:&quot;I&quot;, &#160;&quot;c&quot;:&quot;NETWORK&quot;, &#160;&quot;id&quot;:22988, &#160; &quot;ctx&quot;:&quot;conn14&quot;,&quot;msg&quot;:&quot;Error receiving request from client. Ending connection from remote&quot;,&quot;attr&quot;:{&quot;error&quot;:&lt;/p&gt;
{&quot;code&quot;:141,&quot;codeName&quot;:&quot;SSLHandshakeFailed&quot;,&quot;errmsg&quot;:&quot;SSL peer certificate validation failed: self signed certificate&quot;}
&lt;p&gt;,&quot;remote&quot;:&quot;127.0.0.1:49150&quot;,&quot;connectionId&quot;:14}}&lt;/p&gt;
{&quot;t&quot;:\{&quot;$date&quot;:&quot;2022-10-06T08:08:57.920-04:00&quot;}
&lt;p&gt;,&quot;s&quot;:&quot;I&quot;, &#160;&quot;c&quot;:&quot;NETWORK&quot;, &#160;&quot;id&quot;:22944, &#160; &quot;ctx&quot;:&quot;conn14&quot;,&quot;msg&quot;:&quot;Connection ended&quot;,&quot;attr&quot;:{&quot;remote&quot;:&quot;127.0.0.1:49150&quot;,&quot;uuid&quot;:&quot;6150d1f4-3272-444f-a8ea-4a993774380c&quot;,&quot;connectionId&quot;:14,&quot;connectionCount&quot;:0}}&lt;/p&gt;</description>
                <environment></environment>
        <key id="2153178">SERVER-70271</key>
            <summary>TLS Authentication not working for self signed certifcates.</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="9">Done</resolution>
                                        <assignee username="yuan.fang@mongodb.com">Yuan Fang</assignee>
                                    <reporter username="it.subramanian@gmail.com">bala subramanian</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Oct 2022 12:17:35 +0000</created>
                <updated>Fri, 7 Oct 2022 19:27:12 +0000</updated>
                            <resolved>Fri, 7 Oct 2022 19:27:12 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4887001" author="JIRAUSER1270794" created="Fri, 7 Oct 2022 19:26:38 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=it.subramanian%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;it.subramanian@gmail.com&quot;&gt;it.subramanian@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for your report. The &#8220;self-signed certificate&#8221; error generally occurs when you connect using a client without &lt;a href=&quot;https://www.mongodb.com/docs/manual/tutorial/configure-ssl/#set-up-mongod-and-mongos-with-client-certificate-validation-1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;specifying the CA certificate in the client &lt;/a&gt;(--sslCAFile if using the mongo shell). I found a thread on &lt;a href=&quot;https://www.mongodb.com/community/forums/t/unable-to-connect-to-mongodb-using-ssl-tls/117797&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Developer Community Forums&lt;/a&gt; discussing a similar question. Would you check if it helps?&lt;/p&gt;

&lt;p&gt;If the discussion there leads you to suspect a bug in the MongoDB server, then we&apos;d want to investigate it as a possible bug here in the SERVER project.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Yuan&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 7 Oct 2022 19:26:38 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 17 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>yuan.fang@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 17 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>it.subramanian@gmail.com</customfieldvalue>
            <customfieldvalue>yuan.fang@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1d1zj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0vqa0:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[yuan.fang@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1co4v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>