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

Kagan Kassu 1 Reputation point
2022-04-25T12:38:32.343+00:00

We are having this error when run to Web API. We already upgraded .NET Framework to 4.8v on Windows Server 2012 R2. Check TLs 1.2 is enabled.
196191-tls12-reg1.jpg

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,371 questions
0 comments No comments
{count} votes

12 answers

Sort by: Most helpful
  1. Vito Procino 6 Reputation points
    2022-04-25T17:47:25.927+00:00

    You need create this keyreg

    HKLM SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\tls 1.2\server\
    DisableByDefault=1
    Enabled=1

    1 person found this answer helpful.

  2. Kagan Kassu 1 Reputation point
    2022-04-25T13:08:54.197+00:00

    Already check this article for Windows 2012 R2, and set all TLS registry values.

    0 comments No comments

  3. Vito Procino 6 Reputation points
    2022-04-25T13:31:11.877+00:00

    Official ms guide and kb to upgrade .net 4.x has a note:
    you must install .net rule to IIS, and then apply upgrade/fix/kb.

    So your problem is that tls dont work? Can you post event error please?

    0 comments No comments

  4. Kagan Kassu 1 Reputation point
    2022-04-25T14:02:19.147+00:00

    Still getting "The request was aborted: Could not create SSL/TLS secure channel Error". Just edit couple registry settings for TLs, but need reboot. Will try again after reboot. (not available to reboot yet.

    0 comments No comments