Skip to main content

Notifications

Business Central forum
Suggested answer

RSA SHA 256 Encryption

Posted on by 8

I'm not sure if this is allowed. Please let me know if it is not.

We are Business central Users (
INDIA Business Central 22.2) on-prem Version. We have been trying to integrate Bank APIs with our Business Central application.

We have engaged a business central partner to do this development. The bank requires the data that is sent over the API to be encrypted using RSA SHA 256. The partners are now telling us that the on-prem version does not support this encryption method. I found the below link on the internet which says RSA SHA 256 is supported. I just want to confirm if this is actually the case. I'd be greatful if anyone can help on this.

 https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-supported-cipher-suites

  • RSA SHA 256 Encryption
    Thank you. We will explore this solution. However we are not able to find "Codeunit RSACryptoServiceProvider" in the Onprem Business central
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,142 Super User 2024 Season 2 on at
    RSA SHA 256 Encryption
    Hi, as far as I know this is handled in codeunit 1445 "RSACryptoServiceProvider", you can search for its usage.
     
    Hope this can give you some hints.
    Thanks
    ZHU
  • KasparsSemjonovs Profile Picture
    KasparsSemjonovs 3,649 Super User 2024 Season 2 on at
    RSA SHA 256 Encryption
    Based on the information in the link, it seems that this should be quite easy for the On-prem, and maybe not possible for the SaaS option.
     
    You need to generate a proper certificate for the BC web instance and put it on the server/in the instance  (sorry, haven't done this specific administrations myself).
     
    So that when You open Your Business Central system, in the URL you will see the https:\\....
    As I understand the encryption is set in the certificate, and not sure if developers can actually change it to another type. But some other experts who have more knowledge in development or administration can maybe give more detailed answer.

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,142 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,979 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans