Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Self signed certs via Powershell

(0) ShareShare
ReportReport
Posted on by

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

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Self signed certs via Powershell

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans