CSSM Upgrade to 8-202404¶
Published: August 12, 2024
Read time: 5 minutes
Cisco recently published a security advisory with a critical CVSS Score of 10.0. You can find the full advisory at this link:
Cisco Security Advisory - CSSM Auth
Who's Affected?¶
You're likely affected if you haven't upgraded your Cisco Smart Software Manager On-Prem (CSSM) since June 2022.
| Cisco SSM On-Prem Release | First Fixed Release |
|---|---|
| 8-202206 and earlier | 8-202212 |
| 9 | Not vulnerable |
It's better to upgrade to version 8-202404, released in May 2024.
If you're planning to upgrade to the latest version 9-202407 instead, from version 8, you'll need to follow a two-step process:
- Upgrade to 8-202404
- Migrate to 9-202406 (in-place upgrade isn't supported due to Cisco's switch to Alma Linux) and then do the upgrade to 9-202407
Blog Series
This blog will focus on upgrading to 8-202404. I've covered the migration to 9-202406 in a separate post.
Throughout this blog post, I'll refer to the Smart Software Manager On-Prem as CSSM for brevity. For the purposes of our examples, let's assume your CSSM hostname is abc-cssm01.
Crucial Pre-upgrade Step: Database Backup and VM Snapshots¶
Critical Step
Ensure you've backed up your database before executing an upgrade. Having a backup will help if something goes wrong and you need to rebuild. The backup maintains records of a product's certificates, which are vital for product validation. Without it, if rebuilding, a new On-Prem instance could lead to re-registering all products associated with the On-Prem license server.
To create a database backup:
- SSH into your CSSM using your admin account.
- At the prompt (e.g.,
[admin@abc-cssm01 ~]$), enter the commandonprem-console. - At the new prompt (
>>), enterdatabase_backup. - Wait for the confirmation message: "Database successfully backed up to [path/filename]."
- Use WinSCP to copy the backup from
/var/files/backupson CSSM to your PC or admin server.
For other commands in CSSM, refer to the SSM On-Prem 8 Console Guide:
As an additional precaution, consider taking a VM snapshot from vCenter.
Unconfirmed Information
VM Snapshots can serve as an alternative backup method. In case of reverting to a Snapshot, you must do a full sync with the Cloud.
Download the CSSM Software Upgrade File¶
- Visit Cisco's software download page: Cisco Software Download
- Search for "Smart Software Manager" in the "Select a Product" field.
- Choose "Smart Software Manager On-Prem".
- Under "Latest Release" in the left column, select Release 8-202404.
- Download
SSM_On-Prem_8-202404_Upgrade.zip. - After downloading, unzip the file. You will see these two files:

Upload the Upgrade Files to CSSM¶
While Cisco's documentation suggests an SSH upgrade method, I prefer using WinSCP.
In previous versions, you could directly copy the upgrade files to the /var/files/patches/ directory using WinSCP. However, Cisco has changed this in recent updates. Direct file copying to the /var/files/patches/ path is no longer allowed for security reasons. Instead, we'll use a two-step process:
- Copy the files to a temporary directory
- Move them to the patches directory using command-line instructions
Here's how to do it:
- Use WinSCP to copy both unzipped files to
/var/tmp/on your CSSM. - SSH into your CSSM.
- If you're at the
>>prompt, typeexitto return to the standard prompt. - Enter
sudo -sand provide your admin password. - Change to the tmp directory:
- Move the files to the patches directory:
- Verify the files are in
/var/files/patches/using the command line or WinSCP.
Perform the Upgrade¶
- If you're still in the root shell, type
exitto return to the admin user. - Enter
onprem-consoleto access the CSSM console. - Start the upgrade with:
- The upgrade process will run several scripts and should take 5-10 minutes.
- Upon completion, the system should automatically reboot. If it doesn't, manually reboot with the
rebootcommand.
That's it! You should now be running the new version.
For more information about Smart licensing, check out the Smart License Using Policy FAQ:
Smart License Using Policy FAQ
Share Your Feedback
Did you find this guide helpful? Did you encounter any different challenges? Please reach out via my Notion form or DM me on LinkedIn. I'd love to hear your feedback!