web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Can I run Business Central On Premise with https and windows auth?

(3) ShareShare
ReportReport
Posted on by 24

Hello everyone,

I’m currently trying to configure an HTTPS connection with an SSL certificate for our Business Central On‑Prem environment, using Windows Authentication.

 

So far, I have applied the following settings in the CustomSettings.config file:

<add key="ClientServicesSSLEnabled" value="true" />
<add key="PublicWebBaseUrl" value="https://[OUR-DOMAIN].de/[Service-Tier-Name]_HTTPS/WebClient" />
<add key="ClientServicesCredentialType" value="Windows" />
<add key="ServicesCertificateThumbprint" value="[THUMBPRINT]" />

Additionally, I configured these values in the navsettings.json:

 
"RequireSsl": "true",
"DnsIdentity": "[DOMAIN-Name]",
"ServicesCertificateThumbprint": "[THUMBPRINT]",
"ClientServicesCredentialType": "Windows",
"ServerHttps": "true"

The service tier is running under a domain service account.

 

The HTTPS URL itself is reachable, and the browser displays the authentication prompt as expected. However, even when entering correct credentials, authentication fails and the login dialog keeps reappearing. I never get access to the Web Client.

 

My questions:


  • Did I miss any configuration steps?

  • Is there anything that needs to be set up in Active Directory (e.g., SPNs, delegation, etc.) to make Windows Authentication work over HTTPS?

  • Are there additional Business Central or IIS settings required for this scenario?

  •  

If you need more details, feel free to ask. :)

 

Kind regards,

Manfred Tag

I have the same question (0)
  • Suggested answer
    Assisted by AI
    OussamaSabbouh Profile Picture
    11,974 Super User 2026 Season 1 on at
    Hello,
    Most likely this is not an SSL problem but a Windows/Kerberos auth problem: if your BC service tier runs under a domain service account, you usually need the correct SPN registered on that account, and DnsIdentity in navsettings.json must match the certificate subject/CN used by the BC Server; otherwise the Web Client can keep looping on the login prompt even with correct credentials. Also verify IIS for the Web Client has Windows Authentication enabled, and in Kerberos/delegation scenarios Microsoft also points to checking Kernel-mode authentication settings. So the main things to review are: SPN missing/wrong/duplicate, DnsIdentity mismatch, URL/DNS alias not matching the SPN, and IIS Windows auth settings.
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    YUN ZHU Profile Picture
    98,625 Super User 2026 Season 1 on at
    I've tested Office 365 authentication before, which involved modifying HTTPS. I'm not sure if it works for the current version, but I hope it can give you some hints.
     
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,870 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,138 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 915 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans