I am trying to generate a certificate with makecert, according to the following page:
http://msdn.microsoft.com/en-us/library/gg502478(v=nav.70).aspx
The commands are executed on a Win 2008 64-bit machine where NAV 2013 is installed, using makecert from Windows SDK v7.0A, either 32-bit or 64-bit. I logged in as an administrator, and run the command prompt with “Run as Administrator”.
Moreover the folder (for .pvk and .cer files) is shared, and I set the security to have “full control” of that folder.
However, the result is always the same – RootNavServiceCA.pvk is created, while the .cer is not, and an error message is returned “Can't access the key of the subject ('RootNavServiceCA.pvk')”
I have looked at several different pages (both in and out of mibuso), but did not find a solution.
Update: This was just a stupid mistake. Since there were two separate dialog boxes asking for a password, I used two different passwords. When I used the same password throughout, there was no problem.