Create Security Certificates Using makecert.exe with Command Prompt

  • First, download “makecert.exe” to the folder where you want to save certificates.
  • Then run the command prompt as an administrator.
  • Change the directory where you want to save certificates which are in “makecert.exe“.
  • Execute the following command to create the trusted root certificate.
makecert -n "CN=RootNavServiceCA" -r -sv RootNavServiceCA.pvk RootNavServiceCA.cer
  • Execute the following command to create the revocation list.
makecert -crl -n "CN=RootNavServiceCA" -r -sv RootNavServiceCA.pvk RootNavServiceCA.crl
  • Execute the following command to create the service certificate.
makecert -sk NavServiceCert -iv RootNavServiceCA.pvk -n "CN=NavServiceCert" -ic RootNavServiceCA.cer -sr localmachine -ss my -sky exchange -pe NavServiceCert.cer

Visit the previous tutorial about, how to download NAV objects to get customer and vendor applied docs easily.

Senior Solutions Architect - Microsoft Dynamics Navision / Microsoft Dynamics 365 Business Central and freelance developer. (The admin of NAVUSER)

Leave a Comment