<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/The-underlying-connection-was-closed-Could-not-establish-trust/m-p/98044#M1392</link>
    <description>&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/43383/accessing-via-c-restful"&gt;One problem solved&lt;/A&gt; OK so the first problem was solved. Now how do I get past this error as the title suggests? Since I am using C# for RESTful services, if I am correct I need to know where I can get certificate and install it on client side so that a successful authentication can be initiated. &lt;BR /&gt;
I am trying out a simple login using C#.&lt;/P&gt;

&lt;P&gt;Please guide. Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2012 10:17:35 GMT</pubDate>
    <dc:creator>wajihullahbaig</dc:creator>
    <dc:date>2012-03-21T10:17:35Z</dc:date>
    <item>
      <title>The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/The-underlying-connection-was-closed-Could-not-establish-trust/m-p/98044#M1392</link>
      <description>&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/43383/accessing-via-c-restful"&gt;One problem solved&lt;/A&gt; OK so the first problem was solved. Now how do I get past this error as the title suggests? Since I am using C# for RESTful services, if I am correct I need to know where I can get certificate and install it on client side so that a successful authentication can be initiated. &lt;BR /&gt;
I am trying out a simple login using C#.&lt;/P&gt;

&lt;P&gt;Please guide. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2012 10:17:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/The-underlying-connection-was-closed-Could-not-establish-trust/m-p/98044#M1392</guid>
      <dc:creator>wajihullahbaig</dc:creator>
      <dc:date>2012-03-21T10:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/The-underlying-connection-was-closed-Could-not-establish-trust/m-p/98045#M1393</link>
      <description>&lt;P&gt;I'm no expert on the subject of how SSL/TLS is handled in C#, but a quick google search on the error message returns results that seem to indicate that the problem lies with the certificate validation. By default Splunk uses self-signed certificates which will generate an error because they can't be validated by a trusted CA. Some more info here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/703272/could-not-establish-trust-relationship-for-ssl-tls-secure-channel-soap"&gt;http://stackoverflow.com/questions/703272/could-not-establish-trust-relationship-for-ssl-tls-secure-channel-soap&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www.google.com/search?q=could+not+establish+trust+relationship+for+the+ssl%2Ftls+secure+channel"&gt;http://www.google.com/search?q=could+not+establish+trust+relationship+for+the+ssl%2Ftls+secure+channel&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2012 10:26:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/The-underlying-connection-was-closed-Could-not-establish-trust/m-p/98045#M1393</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-03-21T10:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/The-underlying-connection-was-closed-Could-not-establish-trust/m-p/98046#M1394</link>
      <description>&lt;P&gt;This is almost certainly a server name validation problem. You can either install the signing certificate (from $SPLUNK_HOME/etc/auth) into your client's trusted store, or you can bypass the trust in code as indicated &lt;A href="http://stackoverflow.com/questions/1301127/how-to-ignore-a-certificate-error-with-c-sharp-2-0-webclient-without-the-certi"&gt;here&lt;/A&gt; or &lt;A href="http://stackoverflow.com/questions/2675133/c-sharp-ignore-certificate-errors"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2012 11:22:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/The-underlying-connection-was-closed-Could-not-establish-trust/m-p/98046#M1394</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-03-21T11:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/The-underlying-connection-was-closed-Could-not-establish-trust/m-p/98047#M1395</link>
      <description>&lt;P&gt;i just added the line -&lt;BR /&gt;
 ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2012 11:42:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/The-underlying-connection-was-closed-Could-not-establish-trust/m-p/98047#M1395</guid>
      <dc:creator>wajihullahbaig</dc:creator>
      <dc:date>2012-03-21T11:42:57Z</dc:date>
    </item>
  </channel>
</rss>

