Microsoft Dynamics NAV 2015 Wildcard Certificate Problem

Windows

I had a problem the other day trying to get Dynamics NAV 2015 to work with a wildcard certificate.While the server started ok, clients couldn’t connect and the error message at the end of this post appeared. The problem seem that you need to define the DnsIdentity on all clients, seems like the client application can’t recognize wildcard dns names automatically and you need to define it yourself. The down side of this is that all clients need to make this modification, while using normal certificates connect clients automatically. So if you do decide to go down this route be aware of this. The fixes are defined below.

To fix it on the client side:

modify the “C:\Users\username\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\80\ClientUserSettings.config” to include the proper certificate name for DnsIdentity :

To fix it on the Nav Server Web Instance:

you can modify the web.config of your Nav web instance for example “C:\inetpub\wwwroot\Mynav” to include the proper certificate name for DnsIdentity :

You can also run the powershell command from Navs powershell:

 

The error on the Nav Web Instance or Client:

2 thoughts on “Microsoft Dynamics NAV 2015 Wildcard Certificate Problem

  1. This is probably not an error but by design. I would say that you ALLWAYS have to use DnsIdentity – At least I am doing this on every single installation I am doing.

    1. You might be right Palle, what i found odd was, if you use a normal certificate and the dns name (you use in your connection string) matches the certificate dns (common name) then leaving the DnsIdentity empty is ok and the client works but it can’t recognise a wild card and assumes the domain is supposed to be the top level part only.

Leave a Reply