makecert - "Can't access the key of the subject"

afarr
Member Posts: 287
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.
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.
Alastair Farrugia
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions