<?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 Trying to use PerfMon from C#, but having authorization problem in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/trying-to-use-perfmon-from-c-but-having-authorization-problem/m-p/5135455#M1113750</link>
    <description>&lt;P&gt;I'm trying to write a C# program to use the PerfMon API.&amp;nbsp; I am having trouble with the web service authentication. I've used the test tool SoapUI to test out the Perfmon API using my login credentials with no problems.&amp;nbsp; But when I try a simple C# program I always get an exception with the message: Could not establish trust relationship for the SSL/TLS secure channel with authority '&amp;lt;myhost&amp;gt;:8443'.&lt;/P&gt;
&lt;P&gt;I'm using the commonly recommended code to set the user name and password:&lt;/P&gt;
&lt;P&gt;client.ClientCredentials.UserName.UserName = userName;&lt;BR /&gt;client.ClientCredentials.UserName.Password = password;&lt;/P&gt;
&lt;P&gt;As anyone else run into this problem?&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2024 01:39:26 GMT</pubDate>
    <dc:creator>john pulley</dc:creator>
    <dc:date>2024-06-25T01:39:26Z</dc:date>
    <item>
      <title>Trying to use PerfMon from C#, but having authorization problem</title>
      <link>https://community.cisco.com/t5/network-security/trying-to-use-perfmon-from-c-but-having-authorization-problem/m-p/5135455#M1113750</link>
      <description>&lt;P&gt;I'm trying to write a C# program to use the PerfMon API.&amp;nbsp; I am having trouble with the web service authentication. I've used the test tool SoapUI to test out the Perfmon API using my login credentials with no problems.&amp;nbsp; But when I try a simple C# program I always get an exception with the message: Could not establish trust relationship for the SSL/TLS secure channel with authority '&amp;lt;myhost&amp;gt;:8443'.&lt;/P&gt;
&lt;P&gt;I'm using the commonly recommended code to set the user name and password:&lt;/P&gt;
&lt;P&gt;client.ClientCredentials.UserName.UserName = userName;&lt;BR /&gt;client.ClientCredentials.UserName.Password = password;&lt;/P&gt;
&lt;P&gt;As anyone else run into this problem?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 01:39:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/trying-to-use-perfmon-from-c-but-having-authorization-problem/m-p/5135455#M1113750</guid>
      <dc:creator>john pulley</dc:creator>
      <dc:date>2024-06-25T01:39:26Z</dc:date>
    </item>
  </channel>
</rss>

