Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

Unable to upload Offline Signature bundles over 1GB to Junos Space



Article ID: KB36892 KB Last Updated: 26 Apr 2021Version: 1.0

When using KB27038- Security Director Offline IDP (IPS) Signature update procedure to upload Offline Signature Database Bundle to Junos Space, the upload fails for signature packages over 1GB.


This error may be seen in Junos Space logs:

Request body (Content-Length) is larger than the configured limit (1073741824).

Junos Space security measures using the upload screen are preventing file uploads over 1GB.


This problem exists in All Junos Space versions 21.1R1 and older.  Patches released after April 26, 2021 may include a patch, check Patch release notes.


Modify the following values from 1073741824 to 1536000000 in the file /etc/httpd/conf.d/mod_security.conf.
  1. Check the current values:

    grep "SecRequestBodyLimit\|SecRequestBodyNoFilesLimit\|SecRequestBodyInMemoryLimit" /etc/httpd/conf.d/mod_security.conf
    Example output:
    SecRequestBodyLimit 1073741824
    SecRequestBodyNoFilesLimit 1073741824
    SecRequestBodyInMemoryLimit 1073741824

    If the values listed above are smaller than 1536000000 please continue.
  2. Backup current config file:

    cp /etc/httpd/conf.d/mod_security.conf /home/admin/http_mod_security.conf.old
  3. Update values:

    sed -i 's/1073741824/1536000000/' /etc/httpd/conf.d/mod_security.conf
  4. Confirm Values are modified:

    grep "SecRequestBodyLimit\|SecRequestBodyNoFilesLimit\|SecRequestBodyInMemoryLimit" /etc/httpd/conf.d/mod_security.conf

    Example output: 

    SecRequestBodyLimit 1536000000
    SecRequestBodyNoFilesLimit 1536000000
    SecRequestBodyInMemoryLimit 1536000000
  5. Restart httpd (webproxy )process:

    Space version 20.3 and older:
    service httpd restart
    Space version 21.1:
    systemctl restart httpd.service
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search