> Source: [sk164797](https://support.checkpoint.com/results/sk/sk164797)

# sk164797 - SHA1 mismatch when using CPUSE or updating Threat Emulation

| Property | Value |
|----------|-------|
| Solution ID | sk164797 |
| Date Created | 2020-01-23 |
| Last Modified | 2020-02-13 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * Threat Emulation fails to update. the file te_file_downloader.elg shows:  
  `
  [ERROR] correct_sha1: SHA1 mismatch for file /var/log/files_repository/Archive_Tool/<UID>/<Version>/<Package>.tar.gz - Expected: <CORRECT SHA1> Calculated: <INCORRECT SHA1>`
* When downloading packages via CPUSE an error appears:` "SHA1 mis-matches"`

## Cause

Like all vendors that provide static files, CDNs (Content Delivery Networks) are used to distribute these files around the world. When users request these files they are directed to the closest available CDN. This provides the benefit of fast download speeds of this static content and also prevent accidental DDoS during peek periods.

When performing a Threat Emulation Update or downloading an update via CPUSE some times the traffic is re-directed to a CDN that could provide faulty files.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
