
Hey all,
Diving deeper into the book 'Extending Microsoft Dynamics NAV 2016' from Packt today.
At this point I'm looking for the directory that would contain or a way to acquire the cmdlet:
New-SelfSignedCertificateEx.ps1
AND\OR
New-NavSelfSignedCertificate.ps1
the book tells me to navigate to the directory or folder where I saved New-SelfSignedCertificateEx.ps1 but I didn't save that anywhere explicitly.
I'm working off a current install of NAV 2016 with Windows Framework 4.0
I found this article to assist but I'm still missing the cmdlet in question: https://msdn.microsoft.com/en-us/dynamics-nav/how-to--create-a-self-signed-security-certificate-using-powershell-script
Found another article going through the same thing and I get stuck at this step:
At the command prompt, import the PowerShell module by typing the following command: Import-Module <dvddir>\\WindowsPowerShellScripts\NAVCertificateAdministration\NAVCertificateAdministration.psm1 or a path equivalent to where your PowerShell module is located.
I don't see NAVCertificateAdministration\NAVCertificateAdministration.psm1 anywhere.
I've tried importing all the modules I can find in the DynamicsNAV\90 folder and still no New-SelfSignedCertificateEx.ps1 or anything else cert related.
Import-Module 'C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Microsoft.Dynamics.Nav.Model.Tools.psd1' -WarningAction SilentlyContinue | out-null
Import-Module 'C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Microsoft.Dynamics.Nav.Apps.Management.psd1' -WarningAction SilentlyContinue | out-null
Import-Module 'C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Microsoft.Dynamics.Nav.Apps.Tools.psd1' -WarningAction SilentlyContinue | out-null
And
Import-Module 'C:\Program Files\Microsoft Dynamics NAV\90\Service\NavAdminTool.ps1' -WarningAction SilentlyContinue | out-null
Import-Module 'C:\Program Files\Microsoft Dynamics NAV\90\Service\Microsoft.Dynamics.Nav.Management.psm1' -WarningAction SilentlyContinue | out-null
Import-Module 'C:\Program Files\Microsoft Dynamics NAV\90\Service\Microsoft.Dynamics.Nav.Apps.Management.psd1' -WarningAction SilentlyContinue | out-null
I'm cross referencing with the book 'Mastering Microsoft Dynamics NAV 2016' as well trying to get things configured correctly.
I'd be happy to provide more details if needed.
Thanks,
*This post is locked for comments
I have the same question (0)Answered my own question ha!
I'll leave this up in case others have trouble.
NAVCertificateAdministration was in the WindowsPowerShellScripts folder of the installation media.
Here for me:
\\\Navision 2016\NAV9_Demo\WindowsPowerShellScripts\NAVCertificateAdministration