Skip to main content


Business Central forum
Suggested answer

SSL Certificate Add failed, Error: 1312

Posted on by 5

Hi All,

Getting the error as shown in the screenshot below:


I am getting the error when I am entering the Certificate Thumbprint and Enable SSL in the OData Services Tab of the Business Central Administration and hitting on Save.

Done the similar setup on a different Machine and Database and it happened without any errors. Can someone suggest here what I am doing wrong? Thanks.

  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 10,387 User Group Leader on at
    SSL Certificate Add failed, Error: 1312
    Hope this article provides you detailed steps for setting up in Business Central 20.
    Saurav Dhyani
  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: SSL Certificate Add failed, Error: 1312


    There may be a few reasons for this:

    1. the SSL cert in private store does not have permissions (add NST Service account to the SSL cert)

    2. the port was already assigned to http

    You can run the following command from command prompt elevated:

    netsh http show urlacl

    If the ports are being returned plus the url, then delete these first. E.g.:

    netsh http delete urlacl url=http.... (just copy the url shown earlier)

    The application event log file should also show a specific error.


Helpful resources

Quick Links

Contextual content recommendations & SharePoint Q&A

Instantly access relevant sales materials…

Beyond the DRA Cloud Label Printing

Explore cloud-based label printing within Dynamics 365…

HR Infrastructure Customer merge

Important considerations for HR Customer migrations…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,418 Super User

Martin Dráb Profile Picture

Martin Dráb 223,708 Super User

nmaenpaa Profile Picture

nmaenpaa 101,142

Featured topics

Product updates

Dynamics 365 release plans