<?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: API SSL connection Issue - Could not create secure SSL/TLS channel in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/API-SSL-connection-Issue-Could-not-create-secure-SSL-TLS-channel/m-p/110769#M49911</link>
    <description>&lt;P&gt;Have you tried making the request in Postman?&amp;nbsp; I just had this problem awhile ago, I ended up writing the response into a text file and uploading into Excel. Also I generated the token separately then did a http request through the Utility - HTTP.&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 19:25:46 GMT</pubDate>
    <dc:creator>mamichielsen</dc:creator>
    <dc:date>2024-05-22T19:25:46Z</dc:date>
    <item>
      <title>API SSL connection Issue - Could not create secure SSL/TLS channel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/API-SSL-connection-Issue-Could-not-create-secure-SSL-TLS-channel/m-p/109750#M49653</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm currently working with an API which is 3rd party and we have credentials and setup done from the bot to make request. I have tried a test request to api and get the response back via SOAPUI.&lt;/P&gt;&lt;P&gt;But when i tried the same via blueprism, getting the below error. Can anyone help if you have faced the same?&lt;/P&gt;&lt;P&gt;I have created an API under System&amp;gt;Objects&amp;gt;Web API Services. This api needs certificates to be loaded with key to create a 2way SSL connection with API.&lt;/P&gt;&lt;P&gt;Now the api source has given a C# code to create a 2 way SSL connection via code stage as below, tried the same in code stage, by passing the parameters required.&lt;/P&gt;&lt;DIV&gt;using System.Net;&lt;/DIV&gt;&lt;DIV&gt;using System.Security.Cryptography.X509Certificates;&lt;/DIV&gt;&lt;DIV&gt;HttpWebRequest request = WebRequest.Create (&lt;STRONG&gt;requestURL&lt;/STRONG&gt;) as HttpWebRequest;&lt;/DIV&gt;&lt;DIV&gt;// Add headers&lt;/DIV&gt;&lt;DIV&gt;string authString = &lt;STRONG&gt;userId&lt;/STRONG&gt; + ":" + &lt;STRONG&gt;password&lt;/STRONG&gt;;&lt;/DIV&gt;&lt;DIV&gt;var authStringBytes = System.Text.Encoding.UTF8.GetBytes (authString);&lt;/DIV&gt;&lt;DIV&gt;string authHeaderString = Convert.ToBase64String (authStringBytes);&lt;/DIV&gt;&lt;DIV&gt;request.Headers ["Authorization"] = "Basic " + authHeaderString;&lt;/DIV&gt;&lt;DIV&gt;// Add certificate&lt;/DIV&gt;&lt;DIV&gt;var certificate = new X509Certificate2(&lt;STRONG&gt;p12certificatePath&lt;/STRONG&gt;, &lt;STRONG&gt;p12certificatePassword&lt;/STRONG&gt;);&lt;/DIV&gt;&lt;DIV&gt;request.ClientCertificates.Add(certificate);&lt;/DIV&gt;&lt;DIV&gt;**Highlighted in bold are input parameters being passed to this stage.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Once this stage is executed, i'm trying to call a method that i have setup in blueprism but getting the below error.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nandhakumar626_0-1713751640095.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37929i022606C82DB21901/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nandhakumar626_0-1713751640095.png" alt="Nandhakumar626_0-1713751640095.png" /&gt;&lt;/span&gt;&lt;P&gt;I have loaded the same certificate file and key into SSL settings under preferences in SOAPUI and it worked. but via blue prism facing this issue.&lt;/P&gt;&lt;P&gt;Please guide me.&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Apr 2024 02:09:50 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/API-SSL-connection-Issue-Could-not-create-secure-SSL-TLS-channel/m-p/109750#M49653</guid>
      <dc:creator>Nandhakumar</dc:creator>
      <dc:date>2024-04-22T02:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: API SSL connection Issue - Could not create secure SSL/TLS channel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/API-SSL-connection-Issue-Could-not-create-secure-SSL-TLS-channel/m-p/110769#M49911</link>
      <description>&lt;P&gt;Have you tried making the request in Postman?&amp;nbsp; I just had this problem awhile ago, I ended up writing the response into a text file and uploading into Excel. Also I generated the token separately then did a http request through the Utility - HTTP.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 19:25:46 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/API-SSL-connection-Issue-Could-not-create-secure-SSL-TLS-channel/m-p/110769#M49911</guid>
      <dc:creator>mamichielsen</dc:creator>
      <dc:date>2024-05-22T19:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: API SSL connection Issue - Could not create secure SSL/TLS channel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/API-SSL-connection-Issue-Could-not-create-secure-SSL-TLS-channel/m-p/110896#M49968</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;Yes, it does work via Postman/SoapUI without any issues. But the web service i have setup in Blueprism system tab, gives the error of unable to create secure channel.&lt;/P&gt;&lt;P&gt;Utility - HTTP is working and i'm able to make transactions to API. So created the solution with HTTP utility.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 03:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/API-SSL-connection-Issue-Could-not-create-secure-SSL-TLS-channel/m-p/110896#M49968</guid>
      <dc:creator>Nandhakumar</dc:creator>
      <dc:date>2024-05-27T03:14:00Z</dc:date>
    </item>
  </channel>
</rss>

