# The request was aborted: Could not create SSL/TLS secure channel issue

**URL:** <https://devforum.okta.com/t/the-request-was-aborted-could-not-create-ssl-tls-secure-channel-issue/2376>\
**Category:** API\
**Created:** [August 8, 2018, 2:12pm UTC](https://devforum.okta.com/t/the-request-was-aborted-could-not-create-ssl-tls-secure-channel-issue/2376 "2018-08-08T14:12:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Praveenvid](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@Praveenvid](https://devforum.okta.com/u/Praveenvid)\
**Post date:** [August 8, 2018, 2:12pm UTC](https://devforum.okta.com/t/the-request-was-aborted-could-not-create-ssl-tls-secure-channel-issue/2376/1 "2018-08-08T14:12:00Z")

</div>

Please help me how to solve **The request was aborted: Could not create SSL/TLS secure channel**  
issue, i create new OKTA Account and create Token. i’m using c# language with (okta.core.dll)

Code:  
string Apikey = “\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*”;  
string ApiUrl = “https://dev-\*\*\*\*\*.oktapreview.com”;  
var oktaClient = new OktaClient(Apikey, new Uri(ApiUrl));  
var usersClient = oktaClient.GetUsersClient();  
var CurrentUser = usersClient.Add(user);

```
            return CurrentUser.Id;

```

Please help me

---

<div class="post-metadata">

**Author:** ![AndreiiiH](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andreiiih/32/220_2.png) [@AndreiiiH](https://devforum.okta.com/u/AndreiiiH)\
**Post date:** [August 8, 2018, 2:19pm UTC](https://devforum.okta.com/t/the-request-was-aborted-could-not-create-ssl-tls-secure-channel-issue/2376/2 "2018-08-08T14:19:01Z")

</div>

Hello @Praveenvid,

This error is caused by TLS 1.2 incompatibility. We’re currently migrating all systems to an exclusive-TLS 1.2 network and all implementations calling Okta must update to accommodate for this.

Please take a look at this for more information: [https://stackoverflow.com/questions/45382254/update-net-web-service-to-use-tls-1-2](https://stackoverflow.com/questions/45382254/update-net-web-service-to-use-tls-1-2)

Thank you,  
Andrei Hava  
Developer Support Team

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 12, 2024, 10:52pm UTC](https://devforum.okta.com/t/the-request-was-aborted-could-not-create-ssl-tls-secure-channel-issue/2376/3 "2024-01-12T22:52:54Z")

</div>

Closed on January 12, 2024, 10:52pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
