FIPS 140-3 is a US government standard that defines which cryptographic algorithms software may use and how it must use them. Wowza Streaming Engine (WSE) administrators can enable FIPS mode to restrict all cryptographic operations to the algorithms FIPS 140-3 approves, using Bouncy Castle's FIPS provider in its approved-only mode.
Enabling FIPS mode on a server is a two-step process, and WSE Manager provides a tool for each stage:
- The FIPS readiness check inspects your configuration and reports what would break, without changing it.
- Migration rewrites the configuration that has to change, backs up every file it touches, and turns FIPS mode on.
If necessary, you can roll the server back to its pre-migration state, based on a snapshot of the configuration files taken at migration time. You can also run each step from the command line or in Docker.
Prerequisites
Before you run the readiness check, complete the following:
- Review the impacted features. FIPS mode changes how many WSE features behave, and some stop working entirely. Read FIPS mode feature impact, paying particular attention to:
- Unavailable features: apply the resolution for each one your server uses. RTMP source passwords and SecureToken with an MD5, SHA-1, or empty hash algorithm block migration. If you set an SRT listener’s
PublishMethodtonone, firewall rules or an IPsec tunnel are the only control over who can publish. - Behavior changes: update clients, credentials, and registrations as needed. Changes marked ⚠ fail quietly, so check them before you migrate.
- The Before you migrate checklist in each section.
- Unavailable features: apply the resolution for each one your server uses. RTMP source passwords and SecureToken with an MD5, SHA-1, or empty hash algorithm block migration. If you set an SRT listener’s
- Handle what migration doesn't. Convert keystores referenced by an SNI domain map or JVM properties (see Keystore conversion), re-provision BuyDRM registrations, and update custom modules that use MD5, SHA-1, RC4, TEA, or Bouncy Castle classes directly (see Cryptographic provider).
Enable FIPS Mode
Reset an admin password
The installer creates the default admin account with bcrypt, which FIPS mode doesn't support. Migration will be blocked until at least one admin account meets the password standards for FIPS mode. Before running the FIPS readiness check, run the command below to create a password using pbkdf2 encoding. Replace [user] with the admin username and [password] with a password that is at least 14 characters. To run the readiness check from WSE Manager, sign in with the account you reset.
Linux
[install-dir]/bin/passwordtool.sh -f [install-dir]/conf/admin.password --updateUser --userName [user] --password '[password]' --passwordEncoding pbkdf2
Windows
"[install-dir]\bin\passwordtool.bat" -f "[install-dir]\conf\admin.password" --updateUser --userName [user] --password "[password]" --passwordEncoding pbkdf2
FIPS readiness check
After you complete the prerequisites, run the FIPS readiness check. The check reviews your server's configuration and blocks migration if it discovers any of the following:
- No admin account that can still sign in
- An
ENCRYPTED:value that can't be re-encrypted - An
ENCRYPTED:value orKeyStorePaththat can't be located - An unreadable keystore on a TLS interface
- An application that requires RTMP source passwords
- An application whose SecureToken hash algorithm is MD5, SHA-1, or empty
- A weak or unreadable WSE Manager HTTPS keystore
Manager.xmlortomcat.propertiesthat can't be read- A configuration file that is unreadable, isn't UTF-8, can't be parsed, or contains a DOCTYPE
- An ambiguous Class-typed property entry
Manager.xmlwith a byte order mark (BOM)- A
.bcfksname collision, where a keystore's converted name matches another configured keystore's file
Follow the steps below to run the FIPS readiness check.
- Open WSE Manager.
- Select the Server tab.
- Click Server Setup.
- Click FIPS Mode.
- Click Check FIPS Readiness.
- Review the report:
- Fix blockers
- Review warnings
- Reset any passwords it lists
- Repeat until there are no blockers.
Migrate to FIPS mode
Migration makes the changes described in FIPS mode feature impact. It backs up every file it changes, so the changes can be rolled back, if needed. If migration fails part way through, the files will be immediately rolled back. Follow the steps below to migrate your WSE server to FIPS mode.
- Open WSE Manager.
- Select the Server tab.
- Click Server Setup.
- Click FIPS Mode.
- Click Migrate to FIPS Mode.
- Review the changes and click Confirm & Migrate.
- Click Restart Server to apply the changes to WSE.
- Restart the WSE Manager service.
After both restarts, the FIPS mode page shows Engine: Enabled and Manager: Enabled.
Rollback FIPS mode
Rollback restores the backup and deletes files migration added, such as .bcfks keystores. A completed rollback retires the backup, and the next migration makes a new one.
- Open WSE Manager.
- Select the Server tab.
- Click Server Setup.
- Click FIPS Mode.
- Click Rollback FIPS Mode.
- Review the changes and click Confirm & Rollback.
- Click Restart Server to apply the changes to WSE.
- Restart the WSE Manager service.
Rollback restores the files backed up during migration: changes made to those files after migration, such as new encrypted values, are lost. Changes to other files are kept, including admin users added or reset since migration.
Docker
To run WSE in FIPS mode in Docker, set the FIPS_MODE environment variable to enabled on both the WSE container and the WSE Manager container. If you set JKS_FILE on the WSE Manager container, also set JKS_PASSWORD.
On any boot that adds the admin account, ADMIN_USER and ADMIN_PASSWORD must meet the password rules. If a volume was first booted without FIPS mode, its admin account uses bcrypt, and migration exits with code 2. Reset an admin password before you migrate.
In FIPS mode, unmodified stock applications that use RTMP publish passwords have RTMP publishing turned off. To publish to them, use another protocol, such as SRT, RTSP, or WebRTC, or set the application up without RTMP publish passwords. Any other application that uses RTMP publish passwords, including a stock application you’ve modified, blocks migration and the container exits.
If you supply your own Tomcat server.xml through /usr/local/tomcat/conf.addon, it must include:
<Listener className="launch.DockerFipsLifecycleListener" />in the<Server>elementsslImplementationName="org.apache.tomcat.util.net.jsse.JSSEImplementation"on every HTTPS connector
Command line tools
You can also run the readiness check, migration, and rollback from the command line. WSE and WSE Manager each have their own tool, and each tool has three commands: check, migrate, and rollback. Run the commands for both WSE and WSE Manager.
Linux
Readiness check
The check changes nothing. The WSE tool saves its report to
[install-dir]/logs/fips-migration-report.txt, and the WSE Manager tool saves its report to
[install-dir]/manager/logs/fips-migration-report.txt.
[install-dir]/bin/fipsmigrate.sh check
[install-dir]/manager/bin/managerfipsmigrate.sh check
If the check finds blockers, it exits with code 2. Fix the issues listed in the report, then run the check again.
Migrate
The WSE tool, fipsmigrate, requires admin credentials. When you run it from a terminal, it prompts for them. For unattended runs, such as scripts, use --admin-user with --password-stdin or --password-hash-stdin and pass the password or hash on standard input. The WSE Manager tool,
managerfipsmigrate, does not prompt for credentials; it only accepts --config-only and -h.
Each tool restarts and verifies its own systemd unit: WowzaStreamingEngine.service for WSE and
WowzaStreamingEngineManager.service for WSE Manager.
[install-dir]/bin/fipsmigrate.sh migrate
[install-dir]/manager/bin/managerfipsmigrate.sh migrate
For an unattended run of the WSE tool:
[install-dir]/bin/fipsmigrate.sh migrate --admin-user [username] --password-stdin
Before changing anything, migrate runs the readiness check. If the check finds blockers, the tool exits with code 2 and nothing is changed. If the migration fails, the tool restores the files it changed and exits with code 3. If it can't restore them, it exits with code 4: restore them manually from the backup location in the error message.
If verification fails after the restart, nothing is rolled back: the tool exits with code 7. Run rollback. If systemctl can't stop or start the service, either tool exits with code 8. Fix the cause in the error message, then run migrate again to finish the migration, or run rollback to undo it.
If a service doesn't run as its systemd unit, add --config-only for that tool and restart the service yourself. Without its unit, either tool exits with code 1 and asks for
--config-only.
[install-dir]/bin/fipsmigrate.sh migrate --config-only
[install-dir]/manager/bin/managerfipsmigrate.sh migrate --config-only
Rollback
[install-dir]/bin/fipsmigrate.sh rollback
[install-dir]/manager/bin/managerfipsmigrate.sh rollback
Once rollback is successful, restart WSE and the WSE Manager service to apply the changes.
If rollback exits with code 9, the original configuration was restored, but cleanup didn't finish. Fix the cause in the error message, then run rollback again. If it exits with code 4, it couldn't restore the configuration files: restore them manually from the backup location in the error message.
Windows
Readiness check
The check changes nothing. The WSE tool saves its report to
[install-dir]\logs\fips-migration-report.txt, and the WSE Manager tool saves its report to
[install-dir]\manager\logs\fips-migration-report.txt.
[install-dir]\bin\fipsmigrate.bat check
[install-dir]\manager\bin\managerfipsmigrate.bat check
If the check finds blockers, it exits with code 2. Fix the issues listed in the report, then run the check again.
Migrate
The WSE tool, fipsmigrate, requires admin credentials. When you run it from a terminal, it prompts for them. For unattended runs, such as scripts, use --admin-user with --password-stdin or --password-hash-stdin and pass the password or hash on standard input. The WSE Manager tool, managerfipsmigrate, does not prompt for credentials.
On Windows, always add --config-only, then restart the services yourself. Without --config-only, the tool exits with code 1.
[install-dir]\bin\fipsmigrate.bat migrate --config-only
[install-dir]\manager\bin\managerfipsmigrate.bat migrate --config-only
For an unattended run of the WSE tool:
[install-dir]\bin\fipsmigrate.bat migrate --config-only --admin-user [username] --password-stdin
Before changing anything, migrate runs the readiness check. If the check finds blockers, the tool exits with code 2 and nothing is changed. If the migration fails, the tool restores the files it changed and exits with code 3. If it can't restore them, it exits with code 4: restore them manually from the backup location in the error message.
Rollback
[install-dir]\bin\fipsmigrate.bat rollback
[install-dir]\manager\bin\managerfipsmigrate.bat rollback
Once rollback is successful, restart WSE and the WSE Manager service to apply the changes.
If rollback exits with code 9, the original configuration was restored, but cleanup didn't finish. Fix the cause in the error message, then run rollback again. If it exits with code 4, it couldn't restore the configuration files: restore them manually from the backup location in the error message.




