NetScaler® Certificate Digest Verification Failed, /var Full and Other Upgrade Errors
By Jay H.Published Updated 10 min read
Jay H. · Founder, Sessionright
Founder of Sessionright. Twenty years running Citrix, NetScaler, Citrix Cloud, NetScaler Console, Azure and Azure Virtual Desktop estates; writes the guides and reviews the platform's rules.
Stuck on a failed upgrade? Talk it through with a Sessionright engineer: 15 minutes, free.
On NetScaler 14.1 build 66.x and later, the upgrade script runs pre-upgrade validation checks before it installs anything. One of them verifies SSL certificate files with digest checks. When it cannot, it reports "WARNING: Verification failed" and aborts by default (pre-upgrade validation checks). The CLI reference uses the same phrase admins search for: the install command's -ignorecertcheckerrors flag exists "to ignore certificate digest verification errors during build update" (NITRO install reference).
This guide covers that error and the other upgrade failures NetScaler documents: a full /var, failed pre-checks, HA nodes on different builds and a GUI that will not load afterwards. Every cause and fix comes from docs.netscaler.com, the CLI reference or a Citrix® CTX article. Where an error string is not documented, the guide says so instead of guessing.
Free space on /var (documented procedure)
The troubleshooting page lists "Upgrading a NetScaler appliance fails due to low Space in /var Directory" with one fix: free up space (troubleshooting). The /var procedure warns that when /var runs low "you might not be able to sign in to the GUI", which is why it is written for the CLI. Back up anything before you delete it.
1. Measure
shell
df -h
ls -l /var
du -hs /var/*
The docs say that if /var "reaches 90%, you must delete some files to free up space". For an upgrade, the target is 7 GB free: 1 GB for the bundle, 2 GB for extraction and 4 GB for the upgrade process (Before you begin).
2. Clear the documented directories
| Directory | What it holds | Documented action |
|---|---|---|
/var/nstrace |
Packet traces | "The most common reason for HDD being filled". Run stop nstrace if a trace is running, then rm -r nstrace/* from /var if you do not need them |
/var/tmp/support |
Support bundles | Delete the ones you no longer need |
/var/core |
Core dumps in numbered folders | Clear unless a recent dump is under investigation |
/var/crash |
Process crash files | Clear unless a recent crash is under investigation |
/var/nsinstall |
Staged firmware | Delete everything except the build currently running |
/var/log, /var/nslog |
System and NetScaler logs | Compress with gzip <filename> or tar -cz <filename>.tar.gz <filename> |
3. Check /flash as well
The new kernel is copied to /flash. The Before you begin page says it needs 140–160 MB, but the standalone upgrade page states a minimum of 200 MB, so plan for 200 MB. CTX133587 says to "remove only the older versions of the kernel" and keep the current build's files and kernel.gz. For a VPX, the troubleshooting page adds one step: remove old installation files from /var/tmp/.
NetScaler disk cleanup in the GUI
If the GUI still loads, go to System > System Upgrade and click System Disk to see free space. "If enough space is not available, click Disk Cleanup and choose the directories to clear enough space" (standalone upgrade).
Certificate digest verification failed and build-image integrity
What the check does
The pre-upgrade check named "SSL certificate file integrity" verifies certificate files using digest checks. A pass reads "SUCCESS: All good". A failure reads "WARNING: Verification failed". The default is to abort, because corrupt or missing certificates might disable SSL features (pre-upgrade validation checks). The page does not list which files the check reads.
The one documented cause: spaces in file names
CTX697064 says "certificate integrity checks may behave incorrectly when the certificate or SSL file names contain spaces". The validation does not read the full name, wrongly reports the file as missing and can block the upgrade. A permanent fix is planned for a future release, but no build is named. The fix:
- List every certKey and its files:
The output includesshow ssl certKeyCert PathandKey Pathfor each pair (ssl-certkey reference). Look for paths that contain a space. - Rename those files without spaces. The CTX example turns
my certificate.pemintomy_certificate.pem. Keep them in/nsconfig/ssl/, the default path. The reference warns that other locations "might cause inconsistency in a high availability setup". - Point the certKey at the new names, then review certificate links and bindings:
update ssl certKey <certkeyName> -cert <new_cert_file> -key <new_key_file> - On an HA pair, copy the files to the peer with
sync HA files ssl(ha-files reference), then runsave config. - Rerun the pre-check and confirm it reports "SUCCESS: All good".
Bypassing the check
CTX697064's other workaround is to upgrade from the CLI. The script shows a Certificate Digest error and offers a Y/N prompt to continue. The pre-upgrade page lists -C as the installns override, and install has -ignorecertcheckerrors. Use either only after show ssl certKey confirms that every listed file exists and the only problem is a space in a name. Otherwise you skip the one check built to catch a certificate that will not load after the reboot.
"Digest check missing" and other undocumented strings
Neither the troubleshooting page nor the pre-upgrade page documents a message reading "digest check missing", and no CTX article fetched for this guide explains it. If you see that string, or any digest message other than "Verification failed", do not act on forum guesses. Collect what the troubleshooting page asks for: configuration files from both nodes, the relevant newnslog files, ns.log, the messages file and a topology diagram. Then open a case through Citrix support.
Build-image integrity
The docs do not describe any digest error for the firmware image itself. They do document the download checksum: "The checksum is provided to ensure that you match the downloaded build package with the actual package" (download a release package). Compare it before you upload. If an upgrade fails on hardware errors, the troubleshooting page recommends running fsck to check the disk.
Pre-upgrade validation check failures
Run the checks on their own before the change window, from the extracted build directory:
./installns --pre_check
That command is from the standalone upgrade page. The install equivalent is install file://<path-to-build.tgz> -preCheck, which runs "all installation pre-checks in a single step" (NITRO install reference). In the GUI, the checks run after you upload the image and click Next. Fix any warning and click Revalidate. The docs warn that Ignore Warning & Upgrade "can cause configuration loss, such as unsaved changes".
These failure messages and defaults are from the pre-upgrade validation page:
| Check | Failure message | Default | Override |
|---|---|---|---|
| Unsaved configuration | WARNING: Config not saved | Abort | --ignore_unsaved_config |
| HA sync | WARNING: Not in sync | Abort | --ignore_unsynced_config |
| SSL certificate file integrity | WARNING: Verification failed | Abort | -C |
| nsapi_mgr symbols in startup files | WARNING: symbols not found | Cancel | -p |
| License server connectivity (pooled) | WARNING: Unable to connect | Continue | -E |
| File-based licensing in use | FAILED: Using file-based licensing | Blocked | --skip_lic_exp_chk (last resort) |
| Perpetual licence SA expiry | FAILED: SA expired | Blocked | None |
| Disk space on /flash and /var | FAILED: Insufficient space | Fail | None |
| Step upgrade (13.0 direct to 14.1-66.x+) | FAILED: Not allowed | Fail | None |
save config clears the first row. For disk space, go back to the /var section. The step-upgrade check means a 13.0 appliance must go to 13.1 first. File-based licensing reached end of life on 15 April 2026. The page recommends an LAS-based licence and a system backup, and warns that bypassing the check "might result in an unlicensed state after the upgrade and cause a loss of configuration".
HA nodes on different versions
The HA pair upgrade page gives the order: upgrade the secondary first, run force failover, upgrade the original primary, then fail back. In between, the nodes run different software. By design, that disables HA config synchronization, HA command propagation, state service synchronization, connection mirroring and persistence session synchronization. For two builds of the same release, this applies only "if both the builds have different internal HA versions".
So Sync State: AUTO DISABLED and Propagation: AUTO DISABLED in show ha node output mid-upgrade are expected. File sync with sync HA files all still works across versions. The full sequence is in the HA pair upgrade runbook.
These failures in this state are documented on the troubleshooting page:
| Symptom | Documented fix |
|---|---|
| One node shows state UNKNOWN after the upgrade | Run show ha node. Confirm both nodes run the same build and the secondary is reachable |
| "Command failed on the secondary node but succeeded on the primary node" | Do not run set, unset, bind or unbind commands while HA synchronization is in progress |
Devices keep rebooting after force failover |
Check df -h. If /var is full, remove old installation files |
| Some features not synchronized after upgrade | sync HA files misc (licence files and rc.conf) |
| All virtual servers DOWN on the secondary | Re-enable HA state and HA synchronization. Disabling HA is not recommended |
When the GUI won't load after upgrade
Work through these in order. Each is a documented symptom on the troubleshooting page unless another source is linked.
- Clear the browser first. The standalone upgrade page says: "After the upgrade, close all browser instances and clear your computer's cache before accessing the appliance."
- The GUI upgrade looks stuck. Refresh the browser to see whether it is still progressing.
- The sign-in page fails. Log on over SSH and check
df -h. A full/varcan stop GUI sign-in, so follow the /var procedure above. - No GUI on the secondary after
force failover. Log on to the secondary's CLI and enable GUI access on the NSIP:
The ns-ip reference also accepts SECUREONLY, if your standard is HTTPS-only management.set ns ip <NSIP> -gui enabled - "GUI version does not match with the kernel version. Please close this instance, clear java plug-in cache and reopen". Go to NetScaler Gateway > Global Settings > Change Global Settings. Under Client Experience, set UI theme to Default, click OK and clear the plug-in cache.
- SSH fails too. Remove the old host keys in
/nsconfig/ssh, review or rename/nsconfig/sshd_config, and cold reboot.
Once you are back in, run the post-patch checklist. If the upgrade failed outright, the troubleshooting page says to restore the previous version from your backup files.
FAQ
What does "certificate digest verification failed" mean on NetScaler?
The pre-upgrade SSL certificate file integrity check could not verify one or more certificate files, so the upgrade aborts by default. The documented cause is certificate or key file names with spaces (CTX697064). Rename the files, update the certKey and rerun the pre-check.
How do I fix "digest check missing" during a NetScaler upgrade?
That string is not documented on docs.netscaler.com or in any CTX article found for this guide, so there is no documented fix. Collect the logs listed above and open a case with Citrix support.
How much free space does a NetScaler upgrade need?
You need 7 GB in /var and 200 MB in /flash, per the standalone upgrade page. The Before you begin page puts the kernel copy at 140–160 MB, so 200 MB leaves some margin.
How do I run disk cleanup on NetScaler?
In the GUI, go to System > System Upgrade, click System Disk, then Disk Cleanup, and choose the directories. From the CLI, run shell, df -h and du -hs /var/*, then clear traces, bundles, cores, crash files and old builds.
Where are NetScaler upgrade known issues documented?
The troubleshooting page is the documented list of upgrade symptoms and fixes. Defects in specific checks, such as the file name issue, are published as CTX articles on support.citrix.com.
Want a second pair of eyes?
Before you pick a target build, paste your show ns version output into the free NetScaler build and CVE checker. It maps your build to bulletins and fixed builds in your browser. If you want the pre-checks, disk checks and HA ordering run as a reviewed plan, Sessionright's Nightpatch handles the upgrade as plan, approve, execute. It is read-only by default, and every change is approved and logged. For the per-node commands, see the firmware upgrade CLI guide. If you would rather talk it through, book a 15-minute call: no install, no sales deck.
Sources
- NetScaler docs: Troubleshooting issues related to the installation, upgrade, and downgrade processes
- NetScaler docs: How to free space on the /var directory
- NetScaler docs: Pre-upgrade validation checks for NetScaler
- NetScaler docs: Before you begin
- NetScaler docs: Upgrade a NetScaler standalone appliance
- NetScaler docs: Upgrade a high availability pair
- NetScaler docs: Download a NetScaler release package
- NetScaler NITRO API reference: install
- NetScaler CLI reference: ssl-certkey, ha-files, ns-ip
- Citrix: CTX697064 Pre-Upgrade SSL Certificate Digest Validation Fails When Certificate or Key File Names Contain Spaces
- Citrix: CTX133587 How to Free Space in the /flash Directory in a NetScaler Appliance
- Citrix: Citrix support
Check your build before the next bulletin
Paste a NetScaler build or your show ns version output into the free checker to see the CVEs that affect it, their CISA KEV status and the fixed build for your release. It runs in your browser and never touches the appliance.
Not ready for that? Talk to a Sessionright engineer: 15 minutes, free, and you leave with a next step.
Or get the next guide by email. One email per new guide, no marketing list.
Related guides
- NetScaler ISSU Explained: Zero-Downtime HA Pair Upgrades
How NetScaler ISSU migrates live connections during an HA upgrade, its prerequisites and limits, when to use it over a plain failover, and how to monitor it.
- NetScaler 13.1 End of Life: Dates, Security Builds and 14.1
NetScaler 13.1 passed end of maintenance on 15 September 2026 and reaches end of life on 15 September 2027. Post-EOM builds, the 14.1 target and HA steps.
- Upgrading NetScaler 13.1 to 14.1: Path, Gotchas and Checklist
NetScaler 13.1 to 14.1 upgrade: supported paths, the LAS licensing block in 14.1-66.x, pre-upgrade checks, classic policy and /etc gotchas, FIPS and rollback.
- NetScaler Firmware Upgrade via CLI: Commands That Actually Work
The exact NetScaler CLI upgrade sequence: /var space checks, backup, staging in /var/nsinstall, installns pre-checks, reboot, verification and common errors.
- How to Upgrade NetScaler Console (ADM) On-Prem: HA, DR and Agents
How to upgrade NetScaler Console on-prem: paths to 14.1, pre-upgrade and LAS checks, HA and DR order, agent upgrades, and what to verify afterwards.
Citrix and NetScaler are trademarks of Citrix Systems, Inc. and/or its affiliates. Azure is a trademark of the Microsoft group of companies. Sessionright is not affiliated with or endorsed by Cloud Software Group, Citrix or Microsoft.