<?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: CyberSource keys folder issue in Azure, Asp.Net Mvc Web Api in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/CyberSource-keys-folder-issue-in-Azure-Asp-Net-Mvc-Web-Api/m-p/84188#M393</link>
    <description>&lt;P&gt;If you want to use the certificates in the Azure WebApp, please have a try to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://stackoverflow.com/questions/6819079/convert-pfx-format-to-p12" target="_blank"&gt;convert .p12 to .pfx&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://e-chats.com/omegle" target="_blank" rel="noopener"&gt;/echat&lt;/A&gt;&lt;A href="https://chatspin.download" target="_blank" rel="noopener"&gt;spin&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;and install it in the WebApp. About how to upload and use certificates in Azure WebApp, please refer to this&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://msftplayground.com/2016/11/using-certificates-azure-app-services/" rel="nofollow noreferrer" target="_blank"&gt;blog&lt;/A&gt;. I aslo find another similar&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://stackoverflow.com/questions/32759181/cybersource-on-azure" target="_blank"&gt;SO thread&lt;/A&gt;&amp;nbsp;&lt;A href="https://echat.date" target="_blank" rel="noopener"&gt;/echat&lt;/A&gt;&lt;A href="https://chatrandom.download/omegle/" target="_blank" rel="noopener"&gt;random&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Adding an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;app setting&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;named&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;WEBSITE_LOAD_CERTIFICATES&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with its value set to the thumbprint of the certificate will make it accessible to your web application. You can have multiple comma-separated thumbprint values or can set this value to “ * “ (without quotes) in which case all your certificates will be loaded to your web applications personal certificate store.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Relate link:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox" rel="nofollow noreferrer" target="_blank"&gt;Azure Web App sandbox&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2022 10:15:11 GMT</pubDate>
    <dc:creator>Michael325</dc:creator>
    <dc:date>2022-09-19T10:15:11Z</dc:date>
    <item>
      <title>CyberSource keys folder issue in Azure, Asp.Net Mvc Web Api</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/CyberSource-keys-folder-issue-in-Azure-Asp-Net-Mvc-Web-Api/m-p/82952#M146</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am implementing registration process that implements cybersource as payment gateway with ASP MVC web API.&lt;/P&gt;&lt;P&gt;In web.config we have to specify the keys and logs directory.&lt;/P&gt;&lt;PRE&gt; &amp;lt;&lt;SPAN class=""&gt;add&lt;/SPAN&gt; key=&lt;SPAN class=""&gt;"cybs.keysDirectory"&lt;/SPAN&gt; &lt;SPAN class=""&gt;value&lt;/SPAN&gt;= &lt;SPAN class=""&gt;"E:\CyberSource\Keys/"&lt;/SPAN&gt; /&amp;gt;
 &amp;lt;&lt;SPAN class=""&gt;add&lt;/SPAN&gt; key=&lt;SPAN class=""&gt;"cybs.logDirectory"&lt;/SPAN&gt; &lt;SPAN class=""&gt;value&lt;/SPAN&gt;= &lt;SPAN class=""&gt;"E:\CyberSource\Logs/"&lt;/SPAN&gt; /&amp;gt;&lt;/PRE&gt;&lt;P&gt;This works fine when we deploy the API on IIS and work locally. But when we deploy the API to Azure and for the registration part (Subscribe) that use the CyberSource gateway we get the 502 bad request error from the request.&lt;/P&gt;&lt;P&gt;We tried relative paths as well but still the same error.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;We believe that the API is not getting the .p12 file from the keys directory.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Where to put the .p12 file or where to create the keys directory and what should we specify in web.config to make it work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 10:14:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/CyberSource-keys-folder-issue-in-Azure-Asp-Net-Mvc-Web-Api/m-p/82952#M146</guid>
      <dc:creator>Michael325</dc:creator>
      <dc:date>2022-05-31T10:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: CyberSource keys folder issue in Azure, Asp.Net Mvc Web Api</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/CyberSource-keys-folder-issue-in-Azure-Asp-Net-Mvc-Web-Api/m-p/84188#M393</link>
      <description>&lt;P&gt;If you want to use the certificates in the Azure WebApp, please have a try to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://stackoverflow.com/questions/6819079/convert-pfx-format-to-p12" target="_blank"&gt;convert .p12 to .pfx&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://e-chats.com/omegle" target="_blank" rel="noopener"&gt;/echat&lt;/A&gt;&lt;A href="https://chatspin.download" target="_blank" rel="noopener"&gt;spin&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;and install it in the WebApp. About how to upload and use certificates in Azure WebApp, please refer to this&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://msftplayground.com/2016/11/using-certificates-azure-app-services/" rel="nofollow noreferrer" target="_blank"&gt;blog&lt;/A&gt;. I aslo find another similar&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://stackoverflow.com/questions/32759181/cybersource-on-azure" target="_blank"&gt;SO thread&lt;/A&gt;&amp;nbsp;&lt;A href="https://echat.date" target="_blank" rel="noopener"&gt;/echat&lt;/A&gt;&lt;A href="https://chatrandom.download/omegle/" target="_blank" rel="noopener"&gt;random&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Adding an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;app setting&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;named&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;WEBSITE_LOAD_CERTIFICATES&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with its value set to the thumbprint of the certificate will make it accessible to your web application. You can have multiple comma-separated thumbprint values or can set this value to “ * “ (without quotes) in which case all your certificates will be loaded to your web applications personal certificate store.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Relate link:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox" rel="nofollow noreferrer" target="_blank"&gt;Azure Web App sandbox&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 10:15:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/CyberSource-keys-folder-issue-in-Azure-Asp-Net-Mvc-Web-Api/m-p/84188#M393</guid>
      <dc:creator>Michael325</dc:creator>
      <dc:date>2022-09-19T10:15:11Z</dc:date>
    </item>
  </channel>
</rss>

