<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:42:49 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-2534] CLONE - Can&apos;t Connect MongoDB With SSL in Azure machine with another MVC application in Azure</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2534</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;I&apos;m having problem in connecting MongoDB which is configured using SSL. I have MongoDB enterprise server in Azure virtual machine which has the following configuration.&lt;br/&gt;
&#160;{{net:bindIp: 0.0.0.0port: 27017ssl:CAFile: &apos;C:\openssl-0.9.8h-1-bin\bin\rCA.pem&apos;PEMKeyFile: &apos;C:\openssl-0.9.8h-1-bin\bin\rser.pem&apos;    allowConnectionsWithoutCertificates: false    allowInvalidHostnames: true    mode: requireSSL&lt;br/&gt;
storage:    dbPath: &apos;C:\data\db&apos;}}&lt;br/&gt;
I have a C# sample to connect mongodb with certificate data passed as byte array.&lt;br/&gt;
&#160;{{MongoClientSettings settings = new MongoClientSettings&lt;/p&gt;
{Server = new MongoServerAddress(&quot;mongo_azure_host&quot;, 27017),UseSsl = true,RetryWrites = true}
&lt;p&gt;;        settings.VerifySslCertificate = false;var SslCertificateData = FilePathHelper.ReadFile(Server, mySslClientCertificate);var certificate = new X509Certificate2(SslCertificateData, &quot;pwd&quot;);            settings.SslSettings = new SslSettings(){ClientCertificates = new[] { certificate }};}MongoClient mongoClient = new MongoClient(settings);        mongoClient.GetServer().Connect();}}&lt;br/&gt;
This works fine if the sample is in my local environment. But if I pubish the same in Azure web app and tried to connect, it throws the following exception&lt;/p&gt;

&lt;p&gt;&lt;b&gt;system.componentmodel.win32exception:&lt;/b&gt;&#160;the credentials supplied to the package were not recognized&lt;/p&gt;</description>
                <environment>Microsoft Azure windows server 2012</environment>
        <key id="705598">CSHARP-2534</key>
            <summary>CLONE - Can&apos;t Connect MongoDB With SSL in Azure machine with another MVC application in Azure</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="manikandan.kumaresan">manikandan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 27 Feb 2019 04:56:35 +0000</created>
                <updated>Mon, 4 Mar 2019 20:15:21 +0000</updated>
                            <resolved>Mon, 4 Mar 2019 20:15:21 +0000</resolved>
                                    <version>2.4.3</version>
                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10720">
                    <name>Cloners</name>
                                            <outwardlinks description="clones">
                                        <issuelink>
            <issuekey id="705596">CSHARP-2533</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|huemon:</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>