Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1. Prepare a SSL certificate (Self-signed certificate or purchase from a certificate authority).

2. Ensure the Dynamics NAV Web client is work and setup properly.
- the web client instance point correct database/NAV instance.
- the web client instance using user authentication match desired NAV instance authentication.

3. Prepare a "location" for download the certificate file. (If planning use Self-signed certificate)
- the certificate file can be store at web client folder.
3.1 Please
- Please ensure the certificate "location" is enable MIME type for download certificate file.
- it (It can be check at IIS Manager.)

3.2 Add
- Add new MIME type for download certification file.
(MIME type <application- application/pkix-cert>cert)


4. Adding an HTTPS Binding That Uses the Certificate on the Microsoft Dynamics NAV Web Client Site.

...



- Restart the IIS.

5. Generate and Import to App Server the Self-signed certificate.
- Download and save the PowerShell script from 
https://gallery.technet.microsoft.com/scriptcenter/Self-signed-certificate-5920a7c6#content.

- Open a PowerShell prompt with the option As administrator.


- Go to the directory where you saved the New-SelfSignedCertificateEx.ps1 file.


- Run the following command: Import-Module .\New-SelfSignedCertificateEx.ps1.
Image Added

- Then run the following command: New-SelfSignedCertificateEx –Subject “CN=<your site name>” 'CN=<your site name>' –IsCA $true –Exportable –StoreLocation LocalMachine -SubjectAlternativeName certauth.fs.<your site name>, <your site name> -FriendlyName 'UICL App Cert'

If using Domain name to generate the cert.
New-SelfSignedCertificateEx –Subject 'CN=*.'CN=<Domain Name>' –IsCA $true –Exportable –StoreLocation LocalMachine –StoreName My -SubjectAlternativeName certauth.fs.<domain name> <domain name>







Info

Android

Download the Self-signed certificate for authentication.
- this article shows download the Self-signed certificate from Web client folder.
- edit following link for your environment.
- http://<host IP or name>/<web instance name>/webclient/<cert file name>.cer


Download the app at Google Play Store.
- search Dynamics NAV key word at Google Play Store.
- click the direct app page link - https://play.google.com/store/apps/details?id=com.microsoft.dynamics.nav

...