Fix Invalid Signature Detected: Causes & Solutions
In this article
An "invalid signature detected" error means a file or program's digital signature doesn't match what its publisher originally signed, often due to corruption, tampering, or an expired certificate. You can usually fix it by re-downloading the file, updating the software, or adjusting your system's security settings—but you must first confirm the file is safe.
What Is a Digital Signature?
A digital signature is a cryptographic stamp attached to a file or driver. It uses a private key held by the publisher to create a unique hash of the file's contents. Your operating system verifies this by using the publisher's public key, which is embedded in a certificate issued by a trusted authority. If even one byte of the file changes after signing, the hash won't match and the signature becomes invalid.
Signatures serve two purposes: they confirm the publisher's identity and guarantee the file hasn't been altered. Windows, macOS, and many Linux distributions check signatures before installing drivers or running certain executables. When the check fails, you see warnings like "Windows can't verify the publisher of this driver software" or the specific "invalid signature detected" message.
Common Causes of the Error
The error rarely means your computer is broken. It usually points to one of these issues:
- Corrupted download: A partial or interrupted download breaks the file's hash, making the signature invalid.
- Expired or revoked certificate: Publishers sign files with certificates that expire. If you install an old file after its certificate expires, the signature no longer validates.
- Outdated system roots: Your OS needs the issuing certificate authority (CA) in its trusted root store. If it's missing or outdated, the whole chain fails.
- Tampered file: Malware or a bad update can modify the file after signing. This is the most serious case and requires caution.
- Driver signature enforcement: Windows 10 and 11 require 64-bit drivers to be signed. Older or unsigned drivers trigger this error during installation.
- System clock errors: If your date and time are wrong, certificate validity checks fail because the OS thinks the certificate isn't yet valid or has expired.
How to Fix It on Windows
Follow these steps in order. Stop if you suspect tampering—see the safety section below.
- Re-download the file: Delete the original and download it again from the official source. Use a wired connection or a stable Wi-Fi network to avoid corruption.
- Check your system clock: Right-click the clock, select "Adjust date/time," and enable automatic time sync. Restart after correcting.
- Update Windows: Go to Settings → Update & Security → Windows Update and install all pending updates. This refreshes the trusted root certificates.
- Verify the file's signature: Right-click the file → Properties → Digital Signatures tab. If it shows "The digital signature is invalid," click "Details" to see why. Common reasons include "The certificate has expired" or "The signature is damaged."
- For drivers: If you're installing a driver, try the manufacturer's latest version. If none exists, you can temporarily disable driver signature enforcement: restart, hold Shift and choose Troubleshoot → Advanced options → Startup Settings → Restart, then press 7 to disable enforcement for that session. This is a temporary workaround, not a permanent fix.
- Use the command line: For a single file, open Command Prompt as administrator and run
signtool verify /pa /v "C:\path\to\file.exe"(requires Windows SDK). This gives detailed error codes that help identify the exact failure.
How to Fix It on macOS
macOS checks signatures via Gatekeeper. If you see "The application can't be opened because its integrity can't be verified," try:
- Re-download the app from the official website or the Mac App Store.
- Right-click the app and select "Open" instead of double-clicking. This bypasses Gatekeeper for that single launch.
- Check the quarantine attribute: run
xattr -d com.apple.quarantine /path/to/appin Terminal. This removes the "downloaded from internet" flag, but only do this for trusted apps. - If the app is from an unknown developer, go to System Preferences → Security & Privacy → General and click "Open Anyway" next to the blocked message.
When to Be Suspicious
An invalid signature can be a red flag for malware. Before you bypass any warning, ask yourself:
- Did I download this from the official website or a trusted link?
- Is the file name exactly what I expected? (e.g., "setup.exe" vs. "setup(1).exe")
- Did the download complete without errors?
- Does the publisher name in the signature match the software's author?
If the answer to any of these is no, do not proceed. Instead, scan the file with a reputable antivirus program, upload it to VirusTotal, or simply delete it. Legitimate software rarely triggers this error after a clean download.
Preventing Future Occurrences
Once you've fixed the immediate issue, take these steps to avoid it happening again:
- Always download from official sources—never from third-party mirror sites or peer-to-peer networks.
- Keep your OS and software updated. Certificate revocation lists are updated automatically.
- Use a download manager that checks file integrity (many browsers do this automatically).
- If you're a developer, ensure your signing certificate is renewed before it expires and that you timestamp your signatures. Timestamping lets the signature remain valid even after the certificate expires.
- For system administrators, deploy the latest root certificate updates via WSUS or MDM to all machines.
Frequently Asked Questions
Is it safe to ignore an invalid signature warning?
No. Ignoring it can install unsigned or tampered software that may contain malware. Always verify the source first. If you're confident the file is legitimate, re-downloading is safer than ignoring the warning.
Why does my old software now show this error?
Most likely the publisher's certificate expired. Software signed years ago may still work, but the OS now checks certificate validity dates. Re-download the latest version from the vendor, or contact them for a re-signed build.
Can I remove the signature to make the file work?
Removing a signature is possible with tools like signtool remove, but it's not recommended. It doesn't make the file safer—it just strips the verification layer. The file will still run, but your system will treat it as untrusted.
Does this error mean my computer is infected?
Not necessarily. It's often a simple download issue. However, if you see it on system files (like kernel32.dll) or on files you didn't download, run a full antivirus scan immediately.
What is the difference between "invalid signature" and "signature not found"?
"Invalid signature" means a signature exists but fails verification. "Signature not found" means the file has no signature at all—common for open-source or older programs. Both trigger similar warnings, but "not found" is less alarming because it doesn't imply tampering.
Will disabling driver signature enforcement harm my PC?
Temporarily, it's safe, but it lowers security. Only do it for a driver you trust and re-enable enforcement after installation. Leaving it disabled makes your system vulnerable to unsigned kernel-mode code.