<?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 Proc http request using client side certificate in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-http-request-using-client-side-certificate/m-p/531550#M73747</link>
    <description>Hi.&lt;BR /&gt;I am looking for help with a seemingly simple task. I am looking to call a Rest API that requires me to have a client side certificate with a correct role to get access to some sensitive information.&lt;BR /&gt;&lt;BR /&gt;I am hoping to be able to use base SAS and prof http requests - but I am having trouble how to provide the certificate.&lt;BR /&gt;&lt;BR /&gt;The cert file is in both p12 and pem format if that makes a difference.&lt;BR /&gt;&lt;BR /&gt;Please, could any of you provide me with some tips or help to get started on this?&lt;BR /&gt;&lt;BR /&gt;Cheers.</description>
    <pubDate>Thu, 31 Jan 2019 04:59:15 GMT</pubDate>
    <dc:creator>Andreas_M5</dc:creator>
    <dc:date>2019-01-31T04:59:15Z</dc:date>
    <item>
      <title>Proc http request using client side certificate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-http-request-using-client-side-certificate/m-p/531550#M73747</link>
      <description>Hi.&lt;BR /&gt;I am looking for help with a seemingly simple task. I am looking to call a Rest API that requires me to have a client side certificate with a correct role to get access to some sensitive information.&lt;BR /&gt;&lt;BR /&gt;I am hoping to be able to use base SAS and prof http requests - but I am having trouble how to provide the certificate.&lt;BR /&gt;&lt;BR /&gt;The cert file is in both p12 and pem format if that makes a difference.&lt;BR /&gt;&lt;BR /&gt;Please, could any of you provide me with some tips or help to get started on this?&lt;BR /&gt;&lt;BR /&gt;Cheers.</description>
      <pubDate>Thu, 31 Jan 2019 04:59:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-http-request-using-client-side-certificate/m-p/531550#M73747</guid>
      <dc:creator>Andreas_M5</dc:creator>
      <dc:date>2019-01-31T04:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proc http request using client side certificate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-http-request-using-client-side-certificate/m-p/531639#M73750</link>
      <description>&lt;P&gt;PROC HTTP respects the SSL* options that you can specify in your SAS session, which includes options related to certificates.&amp;nbsp; See the &lt;A href="https://go.documentation.sas.com/?docsetId=secref&amp;amp;docsetTarget=titlepage.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Encryption in SAS documentation&lt;/A&gt;.&amp;nbsp; As of SAS 9.4m6, &lt;A href="https://go.documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=p16n6rig76ssn6n1xqywbwbol6hc.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;you can also include these values in a new SSLPARMS statement&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 14:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-http-request-using-client-side-certificate/m-p/531639#M73750</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2019-01-31T14:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc http request using client side certificate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-http-request-using-client-side-certificate/m-p/970223#M84011</link>
      <description>&lt;P&gt;Hi Chris&lt;/P&gt;&lt;P&gt;sorry for pinging and old post but I ma having the same difficulty and yes I have tried both setting ssl options for environment var by putting in front of my script or using &lt;SPAN&gt;sslparms yet&amp;nbsp; cannot get positive response from our internal API. in order to test if the SAS code works I have created session from programming runtime machine and execute same code , it works flawlessly. Does any service overrides these sslparms value while executing it from sas studio ? we are using viya 3.5&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 11:34:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-http-request-using-client-side-certificate/m-p/970223#M84011</guid>
      <dc:creator>bugraduman1</dc:creator>
      <dc:date>2025-07-04T11:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc http request using client side certificate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-http-request-using-client-side-certificate/m-p/970302#M84012</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/476082"&gt;@bugraduman1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you saying the SAS code works from another environment (like Local SAS) but not from within SAS Studio in Viya? It does sound like a cert/trust issue, or maybe firewall/network. I recommend first gathering more information by using the DEBUG LEVEL=3 statement in PROC HTTP, and making sure that other PROC HTTP calls can work from your SAS Viya environment. If these diagnostics don't yield anything, then I recommend working with SAS Technical Support -- they can direct some more tests/steps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 14:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-http-request-using-client-side-certificate/m-p/970302#M84012</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2025-07-07T14:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc http request using client side certificate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-http-request-using-client-side-certificate/m-p/970330#M84013</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;thanks for your answer we have opened ticket for support.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 09:36:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-http-request-using-client-side-certificate/m-p/970330#M84013</guid>
      <dc:creator>bugraduman1</dc:creator>
      <dc:date>2025-07-08T09:36:27Z</dc:date>
    </item>
  </channel>
</rss>

