Verify Windows Packages
On this page
The MongoDB release team digitally signs MongoDB Shell packages to certify that packages are a valid and unaltered MongoDB release. Before you install MongoDB Shell, you can use the digital signature to validate the package.
This page describes how to verify Windows .exe
and .msi
packages.
Before you Begin
If you don't have MongoDB Shell installed, download the MongoDB Shell binary from the Download Center.
Steps
To verify the MongoDB Shell package on Windows, you can use one of these methods:
Verify Packages with PowerShell
To verify Windows packages with PowerShell, run:
powershell Get-AuthenticodeSignature -FilePath <path_to_mongosh_exe_or_msi>
If the package is signed, the command returns:
SignerCertificate Status Path ----------------- ------ ---- F2D7C28591847B... Valid <path_to_mongosh_exe_or_msi>