Implementing NAV 2009 SSL Web Services-Three Tiers/Three PCs

melsadekmelsadek Member Posts: 31
edited 2013-06-03 in NAV Three Tier
Hi all,

OK, so this might be the mother of all complex NAV 2009 deployments, but this is the NAV community, so I hope you can give me some answers.

Our client requires implementing SSL web services for their NAV 2009 implementation. I have already set them up for Three tiers on Three computers (as per their request), and I also successfully configured basic non-SSL web services, and they both work beautifully. I can access my webservices from the Dynamics NAV Server PC, from within the domain, and from outside the domain. I've setup the SPNs and everything WAS just humming and singing along nicely.

Now...they want us to configure the webservices to use SSL. So, I went through the following steps, as per all the MSDN documentation I could find:

1) Get the SSL certificate

2) Save it to the local Computer store

3) Fetch the certificate thumbprint

4) Use "netsh http" to register url acls - httpcfg was garbage...I continued to get the return code 183.

5) I changed the CustomSettings.config to enable SSL webservices

6) Restarted BOTH Dynamics NAV service and Web Services service

And now...I get an HTTP 500 Internal Error when I try to access the webservices from Internet Explorer. I changed the IE settings so I no longer see friendly error messages, and I found out that it was a NavPasswordException error. It turns out with SSL, My SQL Server is no longer accepting my login credentials, EVEN THOUGH THEY ARE EXACTLY THE SAME AS BEFORE SSL.

Now I got the same error message before when trying to run web services without SSL, and I was able to solve this by adding the SPNs and removing any duplicates that were found. And although it did work without SSL, now with SSL and even after adding the SPNs it is not working.

What I am missing here? Please help me out. I'll wait for your feedback.

Regards,

Mohamad
Mohamad El-Sadek, MCP, MBSS, MCTS
G.R. & Associates, Inc.

Comments

  • melsadekmelsadek Member Posts: 31
    Hi all,

    Just a quick heads up. I was FINALLY able to setup Dynamics NAV 2009 Web Services for 3 Tiers/3 Machines WITH SSL. I've created a document detailing all the steps from top to bottom and some of the pitfalls and challenges that can be encountered when dealing with such a complex setup. If anyone is interested in the article, I'll be happy to share it with you.

    Regards,

    Mohamad
    Mohamad El-Sadek, MCP, MBSS, MCTS
    G.R. & Associates, Inc.
  • ara3nara3n Member Posts: 9,256
    was the issue the SPN for HTTPS wasn't setup?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • melsadekmelsadek Member Posts: 31
    Rashed,

    Sadly it wasn't the setting HTTPS SPN, although you'd think Microsoft would mention something like this in their MSDN articles. I already had the HTTPS SPN setup, but no go.

    The "Use Kerberos Only" option on the designated Domain User Account was the problem. Once I switched the option to "Use any authentication protocol", I was finally able to consume the web services.
    Mohamad El-Sadek, MCP, MBSS, MCTS
    G.R. & Associates, Inc.
Sign In or Register to comment.