<?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 Re: Accessing the SAAS Rest APIs through a corporate Proxy - curl command in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736704#M10033</link>
    <description>&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;These are the outputs that I get&lt;/P&gt;&lt;P&gt;Without Proxy - Successfully returned application list&lt;/P&gt;&lt;P&gt;curl -vk --user internaluser@SAASAccount:dummypwd &lt;A href="https://SAASAccount.saas.appdynamics.com/controller/rest/applications" target="_blank" rel="nofollow noopener noreferrer"&gt;https://SAASAccount.saas.appdynamics.com/controller/rest/applications&lt;/A&gt;&lt;BR /&gt;* Trying x.x.x.x...&lt;BR /&gt;* TCP_NODELAY set&lt;BR /&gt;* Connected to SAASAccount.saas.appdynamics.com (x.x.x.x) port 443 (#0)&lt;BR /&gt;* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH&lt;BR /&gt;* successfully set certificate verify locations:&lt;BR /&gt;* CAfile: /etc/pki/tls/certs/ca-bundle.crt&lt;BR /&gt;CApath: none&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Client hello (1):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server hello (2):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Certificate (11):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server key exchange (12):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server finished (14):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):&lt;BR /&gt;* TLSv1.2 (OUT), TLS change cipher, Client hello (1):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Finished (20):&lt;BR /&gt;* TLSv1.2 (IN), TLS change cipher, Client hello (1):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Finished (20):&lt;BR /&gt;* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256&lt;BR /&gt;* Server certificate:&lt;BR /&gt;* subject: C=US; ST=California; L=San Francisco; O=AppDynamics LLC; CN=*.saas.appdynamics.com&lt;BR /&gt;* start date: Jun 30 00:00:00 2020 GMT&lt;BR /&gt;* expire date: Sep 8 12:00:00 2021 GMT&lt;BR /&gt;* issuer: C=US; O=DigiCert Inc; CN=DigiCert SHA2 Secure Server CA&lt;BR /&gt;* SSL certificate verify ok.&lt;BR /&gt;* Server auth using Basic with user 'internaluser@SAASAccount'&lt;BR /&gt;&amp;gt; GET /controller/rest/applications HTTP/1.1&lt;BR /&gt;&amp;gt; Host: SAASAccount.saas.appdynamics.com&lt;BR /&gt;&amp;gt; Authorization: Basic ZXh0YWRtaW5AZmFidGVzdGRldjpFeHRBZG1pbjEyMyQ=&lt;BR /&gt;&amp;gt; User-Agent: curl/7.50.3&lt;BR /&gt;&amp;gt; Accept: */*&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;lt; HTTP/1.1 200 OK&lt;BR /&gt;&amp;lt; Content-Type: application/xml&lt;BR /&gt;&amp;lt; Date: Mon, 11 Jan 2021 14:10:52 GMT&lt;BR /&gt;&amp;lt; Server: AppDynamics&lt;BR /&gt;&amp;lt; Set-Cookie: JSESSIONID=1c90d1821ed443f4d6b77e2c4f51; Path=/controller; HttpOnly; Secure&lt;BR /&gt;&amp;lt; X-Content-Type-Options: nosniff&lt;BR /&gt;&amp;lt; X-Frame-Options: SAMEORIGIN&lt;BR /&gt;&amp;lt; X-XSS-Protection: 1; mode=block&lt;BR /&gt;&amp;lt; Content-Length: 3859&lt;BR /&gt;&amp;lt; Connection: keep-alive&lt;BR /&gt;&amp;lt;&lt;BR /&gt;&amp;lt;applications&amp;gt;&amp;lt;application&amp;gt;....&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;With Proxy - 401 Authentication Error&lt;/P&gt;&lt;P&gt;curl --anyauth -vk --proxy &lt;A href="http://myproxy.dummy.com:8080" target="_blank" rel="nofollow noopener noreferrer"&gt;http://myproxy.dummy.com:8080&lt;/A&gt; -U proxyUser -u internaluser@SAASAccount --proxy-anyauth &lt;A href="https://SAASAccount.saas.appdynamics.com/controller/rest/applications" target="_blank" rel="nofollow noopener noreferrer"&gt;https://SAASAccount.saas.appdynamics.com/controller/rest/applications&lt;/A&gt;&lt;BR /&gt;Enter host password for user 'internaluser@SAASAccount':&lt;BR /&gt;Enter proxy password for user 'proxyUser':&lt;BR /&gt;* Trying x.x.x.x...&lt;BR /&gt;* TCP_NODELAY set&lt;BR /&gt;* Connected to myproxy.dummy.com (x.x.x.x) port 8080 (#0)&lt;BR /&gt;* Establish HTTP proxy tunnel to SAASAccount.saas.appdynamics.com:443&lt;BR /&gt;&amp;gt; CONNECT SAASAccount.saas.appdynamics.com:443 HTTP/1.1&lt;BR /&gt;&amp;gt; Host: SAASAccount.saas.appdynamics.com:443&lt;BR /&gt;&amp;gt; User-Agent: curl/7.50.3&lt;BR /&gt;&amp;gt; Proxy-Connection: Keep-Alive&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;lt; HTTP/1.1 200 Connection established&lt;BR /&gt;&amp;lt;&lt;BR /&gt;* Proxy replied OK to CONNECT request&lt;BR /&gt;* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH&lt;BR /&gt;* successfully set certificate verify locations:&lt;BR /&gt;* CAfile: /etc/pki/tls/certs/ca-bundle.crt&lt;BR /&gt;CApath: none&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Client hello (1):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server hello (2):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Certificate (11):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server key exchange (12):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server finished (14):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):&lt;BR /&gt;* TLSv1.2 (OUT), TLS change cipher, Client hello (1):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Finished (20):&lt;BR /&gt;* TLSv1.2 (IN), TLS change cipher, Client hello (1):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Finished (20):&lt;BR /&gt;* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384&lt;BR /&gt;* Server certificate:&lt;BR /&gt;* subject: C=US; ST=California; L=San Francisco; O=AppDynamics LLC; CN=*.saas.appdynamics.com&lt;BR /&gt;* start date: Jun 30 00:00:00 2020 GMT&lt;BR /&gt;* expire date: Sep 8 12:00:00 2021 GMT&lt;BR /&gt;* issuer: C=A; ST=City; L=City; O=First City; OU=Dummy IT; CN=Dummy Proxy CA; emailAddress=DummyITSecOps@dummy.com&lt;BR /&gt;* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.&lt;BR /&gt;&amp;gt; GET /controller/rest/applications HTTP/1.1&lt;BR /&gt;&amp;gt; Host: SAASAccount.saas.appdynamics.com&lt;BR /&gt;&amp;gt; User-Agent: curl/7.50.3&lt;BR /&gt;&amp;gt; Accept: */*&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;lt; HTTP/1.1 401 Unauthorized&lt;BR /&gt;&amp;lt; Date: Mon, 11 Jan 2021 14:13:17 GMT&lt;BR /&gt;&amp;lt; Server: AppDynamics&lt;BR /&gt;&amp;lt; WWW-Authenticate: BASIC realm="controller_realm"&lt;BR /&gt;&amp;lt; X-Content-Type-Options: nosniff&lt;BR /&gt;&amp;lt; Content-Length: 0&lt;BR /&gt;&amp;lt; Cache-Control: proxy-revalidate&lt;BR /&gt;&amp;lt; Proxy-Connection: Keep-Alive&lt;BR /&gt;&amp;lt; Connection: Keep-Alive&lt;BR /&gt;&amp;lt; Set-Cookie: BCSI-CS-15847fdf143cdb98=1; Path=/&lt;BR /&gt;&amp;lt; Proxy-support: Session-based-authentication&lt;BR /&gt;&amp;lt;&lt;BR /&gt;* Curl_http_done: called premature == 0&lt;BR /&gt;* Connection #0 to host myproxy.dummy.com left intact&lt;BR /&gt;* Issue another request to this URL: '&lt;A href="https://SAASAccount.saas.appdynamics.com/controller/rest/applications" target="_blank" rel="nofollow noopener noreferrer"&gt;https://SAASAccount.saas.appdynamics.com/controller/rest/applications&lt;/A&gt;'&lt;BR /&gt;* Found bundle for host SAASAccount.saas.appdynamics.com: 0x20082c68 [can pipeline]&lt;BR /&gt;* Re-using existing connection! (#0) with proxy myproxy.dummy.com&lt;BR /&gt;* Connected to myproxy.dummy.com (x.x.x.x) port 8080 (#0)&lt;BR /&gt;* Server auth using Basic with user 'internaluser@SAASAccount'&lt;BR /&gt;&amp;gt; GET /controller/rest/applications HTTP/1.1&lt;BR /&gt;&amp;gt; Host: SAASAccount.saas.appdynamics.com&lt;BR /&gt;&amp;gt; Authorization: Basic ZXh0YWRtaW5AZmFidGVzdGRldjpFeHRBZG1pbjEyMyQ=&lt;BR /&gt;&amp;gt; User-Agent: curl/7.50.3&lt;BR /&gt;&amp;gt; Accept: */*&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;lt; HTTP/1.1 401 Unauthorized&lt;BR /&gt;&amp;lt; Date: Mon, 11 Jan 2021 14:13:17 GMT&lt;BR /&gt;&amp;lt; Server: AppDynamics&lt;BR /&gt;* Authentication problem. Ignoring this.&lt;BR /&gt;&amp;lt; WWW-Authenticate: BASIC realm="controller_realm"&lt;BR /&gt;&amp;lt; X-Content-Type-Options: nosniff&lt;BR /&gt;&amp;lt; Content-Length: 0&lt;BR /&gt;&amp;lt; Cache-Control: proxy-revalidate&lt;BR /&gt;&amp;lt; Proxy-Connection: Keep-Alive&lt;BR /&gt;&amp;lt; Connection: Keep-Alive&lt;BR /&gt;&amp;lt; Set-Cookie: BCSI-CS-15847fdf143cdb98=1; Path=/&lt;BR /&gt;&amp;lt; Proxy-support: Session-based-authentication&lt;BR /&gt;&amp;lt;&lt;BR /&gt;* Curl_http_done: called premature == 0&lt;BR /&gt;* Connection #0 to host myproxy.dummy.com left intact&lt;/P&gt;&lt;P&gt;I'm not sure about the proxy that is in place in the organization. Is that supposed to make a difference to the behavior?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jan 2021 12:20:07 GMT</pubDate>
    <dc:creator>Ashley_Lewis1</dc:creator>
    <dc:date>2021-01-13T12:20:07Z</dc:date>
    <item>
      <title>Accessing the SAAS Rest APIs through a corporate Proxy - curl command</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736699#M10028</link>
      <description>&lt;P&gt;Can someone assist with the command to access the Rest APIs of the SAAS controller using curl command? I want to do this through the corporate proxy&lt;/P&gt;&lt;P&gt;This is what I have so far but I am facing an Authentication 401 Unauthorized Error&lt;/P&gt;&lt;P&gt;curl -v --proxy &lt;A href="http://proxyusername:password@proxyaddress:proxy" target="_blank" rel="nofollow noopener noreferrer"&gt;http://proxyusername:password@proxyaddress:proxyport&amp;nbsp;&lt;/A&gt;--user &lt;A href="mailto:username@account:password" target="_blank" rel="nofollow noopener noreferrer"&gt;username@account:password&lt;/A&gt;&amp;nbsp;&lt;A href="https://SAASURL/controller/rest/applications" target="_blank" rel="nofollow noopener noreferrer"&gt;https://SAASURL/controller/rest/applications&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is there something I am missing?&lt;/P&gt;&lt;P&gt;The &lt;A href="mailto:username@account:password" target="_blank" rel="nofollow noopener noreferrer"&gt;username@account:password&lt;/A&gt;&amp;nbsp;is working outside the corporate proxy.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 16:27:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736699#M10028</guid>
      <dc:creator>Ashley_Lewis1</dc:creator>
      <dc:date>2020-12-30T16:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the SAAS Rest APIs through a corporate Proxy - curl command</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736700#M10029</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/131437"&gt;@Ashley.Lewis&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;I found a few existing Community posts that seem related. Please have a look and let me know if they help.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://community.appdynamics.com/t5/Controller-SaaS-On-Premises/401-unauthorized-in-Rest-Api/m-p/30208#U30208" class="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;401 unauthorized in Rest Api&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/Controller-SaaS-On-Premises/REST-API-access-401-error/m-p/30308#U30308" class="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;REST API access 401 error&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 21:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736700#M10029</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2021-01-04T21:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the SAAS Rest APIs through a corporate Proxy - curl command</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736701#M10030</link>
      <description>&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;Thank you for the response. Those posts did not help actually.&lt;/P&gt;&lt;P&gt;I am already using a locally created account and I am able to successfully call the API outside the Corporate Proxy using this user.&lt;/P&gt;&lt;P&gt;The second post also points to the account being improper which is not the problem in my case as I get it to successfuly work outside the Proxy.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 10:00:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736701#M10030</guid>
      <dc:creator>Ashley_Lewis1</dc:creator>
      <dc:date>2021-01-05T10:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the SAAS Rest APIs through a corporate Proxy - curl command</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736702#M10031</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/131437"&gt;@Ashley.Lewis&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;Thanks for letting me know. Let's see if the Community can jump in and offer a solution or workaround. If I find any posts or info, I will share it here as a reply.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 17:31:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736702#M10031</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2021-01-05T17:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the SAAS Rest APIs through a corporate Proxy - curl command</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736703#M10032</link>
      <description>&lt;P&gt;Hi Ashley&lt;/P&gt;

&lt;P&gt;When you do a curl test to the AppDynamics URL using the proxy what response do you get?&lt;/P&gt;

&lt;P&gt;curl -I -x &amp;lt;proxy hostname&amp;gt;:&amp;lt;proxy port&amp;gt; --proxy-user username:password&amp;nbsp;&lt;A href="https://&amp;lt;appd" target="_blank" rel="noopener nofollow noreferrer"&gt;https://&amp;lt;appd&lt;/A&gt;&amp;nbsp;fqdn&amp;gt;.saas.appdynamics.com&lt;/P&gt;

&lt;P&gt;And also what proxy server are you using , nginx, squid?&lt;/P&gt;

&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 06:18:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736703#M10032</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-01-07T06:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the SAAS Rest APIs through a corporate Proxy - curl command</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736704#M10033</link>
      <description>&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;These are the outputs that I get&lt;/P&gt;&lt;P&gt;Without Proxy - Successfully returned application list&lt;/P&gt;&lt;P&gt;curl -vk --user internaluser@SAASAccount:dummypwd &lt;A href="https://SAASAccount.saas.appdynamics.com/controller/rest/applications" target="_blank" rel="nofollow noopener noreferrer"&gt;https://SAASAccount.saas.appdynamics.com/controller/rest/applications&lt;/A&gt;&lt;BR /&gt;* Trying x.x.x.x...&lt;BR /&gt;* TCP_NODELAY set&lt;BR /&gt;* Connected to SAASAccount.saas.appdynamics.com (x.x.x.x) port 443 (#0)&lt;BR /&gt;* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH&lt;BR /&gt;* successfully set certificate verify locations:&lt;BR /&gt;* CAfile: /etc/pki/tls/certs/ca-bundle.crt&lt;BR /&gt;CApath: none&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Client hello (1):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server hello (2):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Certificate (11):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server key exchange (12):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server finished (14):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):&lt;BR /&gt;* TLSv1.2 (OUT), TLS change cipher, Client hello (1):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Finished (20):&lt;BR /&gt;* TLSv1.2 (IN), TLS change cipher, Client hello (1):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Finished (20):&lt;BR /&gt;* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256&lt;BR /&gt;* Server certificate:&lt;BR /&gt;* subject: C=US; ST=California; L=San Francisco; O=AppDynamics LLC; CN=*.saas.appdynamics.com&lt;BR /&gt;* start date: Jun 30 00:00:00 2020 GMT&lt;BR /&gt;* expire date: Sep 8 12:00:00 2021 GMT&lt;BR /&gt;* issuer: C=US; O=DigiCert Inc; CN=DigiCert SHA2 Secure Server CA&lt;BR /&gt;* SSL certificate verify ok.&lt;BR /&gt;* Server auth using Basic with user 'internaluser@SAASAccount'&lt;BR /&gt;&amp;gt; GET /controller/rest/applications HTTP/1.1&lt;BR /&gt;&amp;gt; Host: SAASAccount.saas.appdynamics.com&lt;BR /&gt;&amp;gt; Authorization: Basic ZXh0YWRtaW5AZmFidGVzdGRldjpFeHRBZG1pbjEyMyQ=&lt;BR /&gt;&amp;gt; User-Agent: curl/7.50.3&lt;BR /&gt;&amp;gt; Accept: */*&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;lt; HTTP/1.1 200 OK&lt;BR /&gt;&amp;lt; Content-Type: application/xml&lt;BR /&gt;&amp;lt; Date: Mon, 11 Jan 2021 14:10:52 GMT&lt;BR /&gt;&amp;lt; Server: AppDynamics&lt;BR /&gt;&amp;lt; Set-Cookie: JSESSIONID=1c90d1821ed443f4d6b77e2c4f51; Path=/controller; HttpOnly; Secure&lt;BR /&gt;&amp;lt; X-Content-Type-Options: nosniff&lt;BR /&gt;&amp;lt; X-Frame-Options: SAMEORIGIN&lt;BR /&gt;&amp;lt; X-XSS-Protection: 1; mode=block&lt;BR /&gt;&amp;lt; Content-Length: 3859&lt;BR /&gt;&amp;lt; Connection: keep-alive&lt;BR /&gt;&amp;lt;&lt;BR /&gt;&amp;lt;applications&amp;gt;&amp;lt;application&amp;gt;....&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;With Proxy - 401 Authentication Error&lt;/P&gt;&lt;P&gt;curl --anyauth -vk --proxy &lt;A href="http://myproxy.dummy.com:8080" target="_blank" rel="nofollow noopener noreferrer"&gt;http://myproxy.dummy.com:8080&lt;/A&gt; -U proxyUser -u internaluser@SAASAccount --proxy-anyauth &lt;A href="https://SAASAccount.saas.appdynamics.com/controller/rest/applications" target="_blank" rel="nofollow noopener noreferrer"&gt;https://SAASAccount.saas.appdynamics.com/controller/rest/applications&lt;/A&gt;&lt;BR /&gt;Enter host password for user 'internaluser@SAASAccount':&lt;BR /&gt;Enter proxy password for user 'proxyUser':&lt;BR /&gt;* Trying x.x.x.x...&lt;BR /&gt;* TCP_NODELAY set&lt;BR /&gt;* Connected to myproxy.dummy.com (x.x.x.x) port 8080 (#0)&lt;BR /&gt;* Establish HTTP proxy tunnel to SAASAccount.saas.appdynamics.com:443&lt;BR /&gt;&amp;gt; CONNECT SAASAccount.saas.appdynamics.com:443 HTTP/1.1&lt;BR /&gt;&amp;gt; Host: SAASAccount.saas.appdynamics.com:443&lt;BR /&gt;&amp;gt; User-Agent: curl/7.50.3&lt;BR /&gt;&amp;gt; Proxy-Connection: Keep-Alive&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;lt; HTTP/1.1 200 Connection established&lt;BR /&gt;&amp;lt;&lt;BR /&gt;* Proxy replied OK to CONNECT request&lt;BR /&gt;* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH&lt;BR /&gt;* successfully set certificate verify locations:&lt;BR /&gt;* CAfile: /etc/pki/tls/certs/ca-bundle.crt&lt;BR /&gt;CApath: none&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Client hello (1):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server hello (2):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Certificate (11):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server key exchange (12):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server finished (14):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):&lt;BR /&gt;* TLSv1.2 (OUT), TLS change cipher, Client hello (1):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Finished (20):&lt;BR /&gt;* TLSv1.2 (IN), TLS change cipher, Client hello (1):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Finished (20):&lt;BR /&gt;* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384&lt;BR /&gt;* Server certificate:&lt;BR /&gt;* subject: C=US; ST=California; L=San Francisco; O=AppDynamics LLC; CN=*.saas.appdynamics.com&lt;BR /&gt;* start date: Jun 30 00:00:00 2020 GMT&lt;BR /&gt;* expire date: Sep 8 12:00:00 2021 GMT&lt;BR /&gt;* issuer: C=A; ST=City; L=City; O=First City; OU=Dummy IT; CN=Dummy Proxy CA; emailAddress=DummyITSecOps@dummy.com&lt;BR /&gt;* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.&lt;BR /&gt;&amp;gt; GET /controller/rest/applications HTTP/1.1&lt;BR /&gt;&amp;gt; Host: SAASAccount.saas.appdynamics.com&lt;BR /&gt;&amp;gt; User-Agent: curl/7.50.3&lt;BR /&gt;&amp;gt; Accept: */*&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;lt; HTTP/1.1 401 Unauthorized&lt;BR /&gt;&amp;lt; Date: Mon, 11 Jan 2021 14:13:17 GMT&lt;BR /&gt;&amp;lt; Server: AppDynamics&lt;BR /&gt;&amp;lt; WWW-Authenticate: BASIC realm="controller_realm"&lt;BR /&gt;&amp;lt; X-Content-Type-Options: nosniff&lt;BR /&gt;&amp;lt; Content-Length: 0&lt;BR /&gt;&amp;lt; Cache-Control: proxy-revalidate&lt;BR /&gt;&amp;lt; Proxy-Connection: Keep-Alive&lt;BR /&gt;&amp;lt; Connection: Keep-Alive&lt;BR /&gt;&amp;lt; Set-Cookie: BCSI-CS-15847fdf143cdb98=1; Path=/&lt;BR /&gt;&amp;lt; Proxy-support: Session-based-authentication&lt;BR /&gt;&amp;lt;&lt;BR /&gt;* Curl_http_done: called premature == 0&lt;BR /&gt;* Connection #0 to host myproxy.dummy.com left intact&lt;BR /&gt;* Issue another request to this URL: '&lt;A href="https://SAASAccount.saas.appdynamics.com/controller/rest/applications" target="_blank" rel="nofollow noopener noreferrer"&gt;https://SAASAccount.saas.appdynamics.com/controller/rest/applications&lt;/A&gt;'&lt;BR /&gt;* Found bundle for host SAASAccount.saas.appdynamics.com: 0x20082c68 [can pipeline]&lt;BR /&gt;* Re-using existing connection! (#0) with proxy myproxy.dummy.com&lt;BR /&gt;* Connected to myproxy.dummy.com (x.x.x.x) port 8080 (#0)&lt;BR /&gt;* Server auth using Basic with user 'internaluser@SAASAccount'&lt;BR /&gt;&amp;gt; GET /controller/rest/applications HTTP/1.1&lt;BR /&gt;&amp;gt; Host: SAASAccount.saas.appdynamics.com&lt;BR /&gt;&amp;gt; Authorization: Basic ZXh0YWRtaW5AZmFidGVzdGRldjpFeHRBZG1pbjEyMyQ=&lt;BR /&gt;&amp;gt; User-Agent: curl/7.50.3&lt;BR /&gt;&amp;gt; Accept: */*&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;lt; HTTP/1.1 401 Unauthorized&lt;BR /&gt;&amp;lt; Date: Mon, 11 Jan 2021 14:13:17 GMT&lt;BR /&gt;&amp;lt; Server: AppDynamics&lt;BR /&gt;* Authentication problem. Ignoring this.&lt;BR /&gt;&amp;lt; WWW-Authenticate: BASIC realm="controller_realm"&lt;BR /&gt;&amp;lt; X-Content-Type-Options: nosniff&lt;BR /&gt;&amp;lt; Content-Length: 0&lt;BR /&gt;&amp;lt; Cache-Control: proxy-revalidate&lt;BR /&gt;&amp;lt; Proxy-Connection: Keep-Alive&lt;BR /&gt;&amp;lt; Connection: Keep-Alive&lt;BR /&gt;&amp;lt; Set-Cookie: BCSI-CS-15847fdf143cdb98=1; Path=/&lt;BR /&gt;&amp;lt; Proxy-support: Session-based-authentication&lt;BR /&gt;&amp;lt;&lt;BR /&gt;* Curl_http_done: called premature == 0&lt;BR /&gt;* Connection #0 to host myproxy.dummy.com left intact&lt;/P&gt;&lt;P&gt;I'm not sure about the proxy that is in place in the organization. Is that supposed to make a difference to the behavior?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 12:20:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736704#M10033</guid>
      <dc:creator>Ashley_Lewis1</dc:creator>
      <dc:date>2021-01-13T12:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the SAAS Rest APIs through a corporate Proxy - curl command</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736705#M10034</link>
      <description>&lt;P&gt;I was able to get this to work by using the curl command with a header token instead of passing the username and password using an api client user. It looks like it is potentially a problem of the proxy not passing the parameters of username and password on to AppDynamics SAAS.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 17:50:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Accessing-the-SAAS-Rest-APIs-through-a-corporate-Proxy-curl/m-p/736705#M10034</guid>
      <dc:creator>Ashley_Lewis1</dc:creator>
      <dc:date>2021-01-19T17:50:18Z</dc:date>
    </item>
  </channel>
</rss>

