<?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 CyberSource on Azure in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/CyberSource-on-Azure/m-p/85266#M700</link>
    <description>&lt;P&gt;To do a request with CyberSource service you have to append .p12 certificate in request.&lt;/P&gt;&lt;P&gt;Classic way of appending(CyberSource SDK):&lt;/P&gt;&lt;PRE&gt;    req.ClientCertificates.Add(&lt;SPAN class=""&gt;new&lt;/SPAN&gt; X509Certificate2(&lt;SPAN class=""&gt;@"D:\cert\cert.p12"&lt;/SPAN&gt;, &lt;SPAN class=""&gt;"password1"&lt;/SPAN&gt;));&lt;/PRE&gt;&lt;P&gt;This works perfectly on local or dedicated hosting.&lt;/P&gt;&lt;P&gt;The issue is we need to append .p12 certificate on Azure, which is impossible in classic way.&lt;/P&gt;&lt;P&gt;I've tried to put it in wwwroot/App_Data and load, but it doesn't work since, error from server we get is:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I've read here, how to use cert on azure(changed p12 to pfx and uploaded to Azure):&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://azure.microsoft.com/en-gb/blog/using-certificates-in-azure-websites-applications/" target="_blank" rel="nofollow noopener"&gt;https://azure.microsoft.com/en-gb/blog/using-certificates-in-azure-websites-applications/&amp;nbsp;&lt;/A&gt;&lt;A href="https://omegle.ws" target="_blank" rel="noopener"&gt;/ome&lt;/A&gt;&lt;A href="https://omegle.club" target="_blank" rel="noopener"&gt;gle&lt;/A&gt;&lt;A href="https://shagle.download" target="_blank" rel="noopener"&gt;shagle&lt;/A&gt; &lt;A href="https://voojio.com/chatroom/omegle" target="_blank" rel="noopener"&gt;/voojio&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I am not sure, this is correct way.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 07:18:44 GMT</pubDate>
    <dc:creator>NaquinSonarikh</dc:creator>
    <dc:date>2022-12-16T07:18:44Z</dc:date>
    <item>
      <title>CyberSource on Azure</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/CyberSource-on-Azure/m-p/85266#M700</link>
      <description>&lt;P&gt;To do a request with CyberSource service you have to append .p12 certificate in request.&lt;/P&gt;&lt;P&gt;Classic way of appending(CyberSource SDK):&lt;/P&gt;&lt;PRE&gt;    req.ClientCertificates.Add(&lt;SPAN class=""&gt;new&lt;/SPAN&gt; X509Certificate2(&lt;SPAN class=""&gt;@"D:\cert\cert.p12"&lt;/SPAN&gt;, &lt;SPAN class=""&gt;"password1"&lt;/SPAN&gt;));&lt;/PRE&gt;&lt;P&gt;This works perfectly on local or dedicated hosting.&lt;/P&gt;&lt;P&gt;The issue is we need to append .p12 certificate on Azure, which is impossible in classic way.&lt;/P&gt;&lt;P&gt;I've tried to put it in wwwroot/App_Data and load, but it doesn't work since, error from server we get is:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I've read here, how to use cert on azure(changed p12 to pfx and uploaded to Azure):&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://azure.microsoft.com/en-gb/blog/using-certificates-in-azure-websites-applications/" target="_blank" rel="nofollow noopener"&gt;https://azure.microsoft.com/en-gb/blog/using-certificates-in-azure-websites-applications/&amp;nbsp;&lt;/A&gt;&lt;A href="https://omegle.ws" target="_blank" rel="noopener"&gt;/ome&lt;/A&gt;&lt;A href="https://omegle.club" target="_blank" rel="noopener"&gt;gle&lt;/A&gt;&lt;A href="https://shagle.download" target="_blank" rel="noopener"&gt;shagle&lt;/A&gt; &lt;A href="https://voojio.com/chatroom/omegle" target="_blank" rel="noopener"&gt;/voojio&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I am not sure, this is correct way.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 07:18:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/CyberSource-on-Azure/m-p/85266#M700</guid>
      <dc:creator>NaquinSonarikh</dc:creator>
      <dc:date>2022-12-16T07:18:44Z</dc:date>
    </item>
  </channel>
</rss>

