Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Certificate Validation on Service Tier results in error: The X.509 certificate CN=accounts.accesscontrol.windows.net is not in the trusted people store

Posted on by

Hello,

Reason for this issue is that Azure Design team changed their certification methodology to user name validation. So if you are running Dynamics NAV 2018 with Office 365 SSO authentication, then you will receive an error in the event log file and logon won't work. The workaround is to disable Certificate Validation on service tier machine which will allow authentication to occur again. Not ideal solution. With CU3, we added a key called:

    DisableTokenSigningCertificateValidation"

You will however notice that with CU3, the issue is still not resolved even if you add the following key manually in the customsettings.config file and set it to true:

  <add key="DisableTokenSigningCertificateValidation" value="True" />

This is because a last minute change was added that did not make it into CU3. That said, CU4 has the full change in behavior. To workaround the issue / resolve this issue and allow the key to work, apply CU4 and adjust following keys in CustomSettings.config file:

  <add key="ServicesCertificateValidationEnabled" value="True" />

  <add key="DisableTokenSigningCertificateValidation" value="True" />

Thank you.

*This post is locked for comments

  • Verified answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Certificate Validation on Service Tier results in error: The X.509 certificate CN=accounts.accesscontrol.windows.net is not in the trusted people store

    Question and answer in same posting.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans