SAP Knowledge Base Article - Public

2806482 - Add-In Login Error - The request was aborted: Could not create SSL/TLS secure channel

Symptom

You're trying to login on the Outlook or Excel Add-Ins, but is getting the following message: The request was aborted: Could not create SSL/TLS secure channel.

logon_error.jpg

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP Cloud For Customer
  • SAP Business ByDesign

Cause

You're using TLSv1.0 protocol, which is no longer supported. As a part of our commitment to continuous improvement and to follow industries best practices, we plan to configure our servers to support the latest protocol versions TLSv1.1 and TLSv1.2.

Resolution

To solve this error you must ensure .NET Framework is using SSL/TLS 1.1 on Windows settings.

There are two options of solution: Editing the Windows registry or Reinstalling the .NET Framework.

1) Editing the Windows registry:

Please ensure you have the below settings enabled in your Windows machine to avoid connectivity issues from SAP Cloud For Customer and SAP Business ByDesign application add-ons:

  1. In your Windows PC.
  2. Go to Windows search and type "Regedit".
  3. Click on Yes.
  4. It opens the Registry Editor.
  5. Open the path below based on the version of .NET Framework installed on your machine, in this case it is 4.0.30319:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319

reg_edit_changes.jpg

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v 4.0.30319

reg_edit_changes2.jpg

If you find the value defined as 0 instead of 1, follow below steps to change “data” from 0 to 1 and further test the result:

Key: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319 
Value: SchUseStrongCrypto
Type: REG_DWORD
Data: 1

Key:Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319
Value: SchUseStrongCrypto
Type: REG_DWORD
Data: 1

If you don't find the "SchUseStrongCrypto" in your registry inside any or both of the .NETFramework paths, please create one by following the steps below:

Important Note: Your machine account will need to have administrator privileges.

  1. Right click in the empty space.
  2. Select New.
  3. Click on DWORD (32-bit) Value.
  4. Type the name "SchUseStrongCrypto" for the newly created entry.
  5. Double click "SchUseStrongCrypto" again to edit it.
  6. Make sure Value Data is 1. 

reg_edit_create1.jpg

reg_edit_create2.jpg

reg_edit_create3.jpg

2) Reinstalling the .NET Framework:

If you still find an issue with SAP Cloud For Customer/SAP Business ByDesign add-on/plugin connecting to the application or if the registry is already set to 1, then reinstall the .NET Framework to 4.6.2 or higher versions and perform the above steps again for this newer version.

How to reinstall .NET Framework:

  1. In your Windows PC.
  2. Go to Windows search and type "Turn Windows features on or off".
  3. Deselect the checkboxes related to .NET.
  4. Click on "Ok".

2019-06-25_14-27-08.png

Windows will deinstall .NET Framework. When it is finished, go back to Turn Windows features on or off.

  1. Select the checkboxes related to .NET again.
  2. Select "Let Windows Update download the files for you". This will install and update it.

2019-06-25_15-00-42.png

 

 

Keywords

TLS; Logon; SSL; Outlook; Excel: Add-in; Add-on; , KBA , SRD-CC-OIN-XL , Excel Integration , How To

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions