What the BigBlueButton shared secret protects and when to rotate it
The BigBlueButton shared secret signs every API checksum, so whoever holds it can create and control meetings on your servers. Rotate it after any suspected exposure, after staff changes that touch systems holding a copy, and when you move the calling front end to new hosts or a new codebase. The BigBlueButton API documentation states that every API call must carry a checksum computed with a secret shared with the server, and it warns that the secret must never be embedded in a web page. Any script, theme or template delivered to a browser can be read by every visitor, so the secret belongs only on servers you control.
Operators usually find the secret in more places than they expect. A portal backend, an LMS plugin, a Greenlight instance and a Scalelite load balancer each hold a copy if they create or manage meetings, and a staging copy of a portal often outlives the staging system it was meant for. Before you change anything, list every system that stores the secret, who administers each one, and whether the value sits in a deployment file, a secrets store or a configuration screen. For a Scalelite pool, confirm how the load balancer and each BigBlueButton server are configured, since a value that differs between them is likely to cause failed API calls. Keep this inventory with the change record, because it defines the systems that must be updated in the same window.
Treat three events as rotation triggers: a suspected leak, such as the secret pasted into a ticket, a chat or a public repository; the departure of anyone who could read configuration or deployment files; and a move of the calling front end to new infrastructure. Before you rotate, search front-end code, theme files and browser-delivered JavaScript for the secret value, because the documentation's warning applies to any page a visitor can open. If you find it, remove it as part of the same change, since a rotated secret that still ships to browsers gives the next reader a working credential. Confirm with your deployment team which logs, backups and build artifacts keep old values, and schedule the rotation for a window in which every system on the inventory can be updated.
Choosing BigBlueButton checksum algorithms for each integration
This table compares the four checksum algorithms BigBlueButton API calls can carry, plus a policy that limits accepted checksums. Read each row for the integration that would use it, then check the last column before you change any front end or Scalelite setting. For most integrations, the takeaway is to keep SHA-256 as the baseline and move any client that cannot send stronger checksums only after confirming its version and client library support.
| Option | When it fits | What to check before choosing it |
|---|---|---|
| SHA-256 (default) | New integrations and any client that already sends SHA-256 by default. | Confirm the client library computes SHA-256 and that your server version accepts it. |
| SHA-1 (legacy use) | Older clients that cannot yet send SHA-256 while an update is scheduled. | Set a removal date for the client upgrade, since SHA-1 is meant for legacy use only. |
| SHA-384 | Integrations with a stronger checksum requirement that run BigBlueButton 2.5 or later. | Confirm the server runs version 2.5 or later and that the client library supports SHA-384. |
| SHA-512 | Integrations whose security policy names SHA-512 specifically, on version 2.5 or later. | Confirm version 2.5 or later and client library support for SHA-512, then test create and join calls end to end. |
| Policy: accept SHA-256 or stronger | Organizations that want the server to refuse SHA-1 checksums once every client has been updated. | Inventory every front end and Scalelite deployment that calls the API, and confirm each one sends SHA-256 or stronger before changing the policy. |
| Clients that cannot send stronger checksums | Older front ends or scripts that stay on an old client library during a transition. | Confirm their BigBlueButton version and client library support before changing policy, and keep them on a documented exception list until they are updated. |
How a signed API call moves from your portal to BigBlueButton
This illustrative diagram starts in your back end, which holds the shared secret and computes the checksum from the call name, the query string and the secret. The signed link reaches the browser or LMS page, which sits on the untrusted side of the trust boundary and sends the request. Without a pool, the request goes straight to bbb-web. With Scalelite, the request reaches the load balancer first, which forwards it to a BigBlueButton server. bbb-web recomputes the checksum and rejects the call if it does not match. Check that the secret appears only in server configuration and never in page source or browser storage.
Illustrative: the shared secret never leaves the server side.
How to rotate the BigBlueButton shared secret safely
This sequence replaces the API shared secret on every BigBlueButton server and every system that signs calls with it, so no component keeps accepting the old value. Each step closes with a check, so you can confirm the new secret works before moving on. Prompts and restart commands can differ by version, so confirm them against the install documentation for the version you run.
Inventory the current secret and its holders
Record where the current secret lives before you change anything. List every BigBlueButton server, each front end such as Greenlight or an LMS integration, any Scalelite node, and any script or service that signs API calls. Search configuration and deployment code for the value so no copy is missed, and confirm the secret does not appear in any web page or client-side script. Name an owner for each system. Done when the list matches what you find on each host and every entry has an owner and a confirmed way to update it.
Schedule a window and notify owners
Pick a change window when no sessions are scheduled, and tell the people who run classes, meetings and integrations when it begins and ends. Once a server accepts only the new secret, calls signed with the old value fail until their system is updated, so every owner needs to be ready on the day. Write down the rollback steps and who can restore the previous value. Done when the window is approved in writing and every owner from the inventory has confirmed they are ready.
Generate and store the new secret
Generate the new secret with a cryptographically secure random generator, such as your password manager or an operating system tool, using the length your secrets policy requires. Store it in your team's secrets store, limit read access to the people who perform the rotation, and avoid pasting it into tickets, chat or shell history. Keep the old value available only for rollback until the final test passes. Done when the new value is stored, access is restricted, and the owners know where to find it.
Run bbb-conf --setsecret on each server
On each BigBlueButton server, run
bbb-conf --setsecretand enter the new value at the prompt. Confirm the prompts and any follow-up commands in the install documentation for your installed version first, because they can change between releases. Work through one server at a time and finish each before starting the next, so a failure stays contained. Done when the command completes without error on that host and you have recorded the host as updated in your inventory.Update each front end, LMS and Scalelite configuration
Replace the stored secret in every system that signs calls. That covers each front end, the LMS integration settings, and Scalelite for the servers in its pool. Update the value where each system reads it, such as its configuration file or environment, and keep it out of page templates, JavaScript and any browser-visible setting. Done when each owner confirms the new value is saved and no system in your inventory still holds the old one.
Restart the affected services
Restart only the services that read the secret, in the order your install documentation gives for your version. Where your layout allows, restart the BigBlueButton servers first, then Scalelite and the front ends, so each component starts against servers that already accept the new value. Restart commands differ by installation layout, so confirm them before running them. Done when each restarted service reports healthy and its logs show no authentication or checksum errors.
Test create and join calls with the new checksum
Run a create call on a test room signed with SHA-256, the default checksum in the API documentation, and confirm it returns a successful response. Then join that meeting with a test participant from each front end. Send one call signed with the old secret and confirm it is rejected. Done when every server and front end passes the create and join tests, the old-secret call is rejected, and the old secret is marked retired in your records.
Rotation steps for a single server and for a Scalelite pool
On a single server, the secret is set once on the BigBlueButton host and copied into each front end that calls its API. The window is short because only one server changes, but a front end holding the old value fails every call until it is updated, so schedule the change for a period with no classes. Generate the new value in advance and keep it in your secrets manager, out of browser code and chat logs. The API documentation explains how each call is signed.
- Components to update: the BigBlueButton server, where
bbb-conf --setsecretsets the new value, and each front end that holds the secret, such as Greenlight or an LMS integration. - Order: change the server first, then update each front end in the same session, starting with the one that carries the most traffic. Keep the gap short because front ends on the old value fail until they are changed.
- Server check: run
bbb-conf --checkand confirm the server runs cleanly with the new value. Runbbb-conf --secretonly in a private session, since its output includes the secret. - Front end check: create a test meeting through each front end, then join it from a browser as a moderator and as a guest.
- Checksum check: confirm each front end signs calls with SHA-256 or stronger, and that the server's accepted checksum policy matches the decision your security team recorded.
Before closing the window, confirm that no front end logs checksum rejections and that a test join succeeds from each front end.
In a Scalelite pool, the secret appears in three places: on each BigBlueButton server, in the Scalelite node's record for that server, and in the front ends that call Scalelite. Scalelite is an open-source load balancer that makes the pool appear as one server, so a stale value on one server can fail only some meetings and look like a random fault. Confirm the configuration keys for your release in the repository before you start.
- Components to update: every BigBlueButton server in the pool with
bbb-conf --setsecret, the Scalelite node's stored value for each server, and every front end that calls Scalelite. - Order: where your setup allows it, drain a server from new meetings, change the server, then change its Scalelite record before moving to the next server. Update front ends last, straight after the Scalelite node accepts the new values.
- Node check: confirm the Scalelite node still reaches every server and that each stored value matches the value set on that server.
- Pool check: run
bbb-conf --checkon each server, then create and join test meetings through Scalelite until you have seen meetings land on each changed server. - Checksum check: confirm the Scalelite node, each server and each front end follow the same checksum policy, with SHA-256 or stronger.
After the last front end changes, review the logs on the Scalelite node and every server for checksum rejections before the window closes.
A secret mismatch between a front end and a server does not degrade into a partial success. Each API call signed with the wrong value is rejected, so create, join and end requests fail in the same way, and users see an error on their first request. In a pool, a stale record on the Scalelite node fails the calls routed to that server, which can look intermittent. Treat any failed join during the window as a secret problem until a test call proves otherwise.
- Symptoms: failed joins, meetings that never start and rejected checksums in the API logs. Run a test call from each front end before investigating the network.
- Scope: a front end holding an old value fails on every call, while a stale server record in a pool fails only the calls Scalelite sends to that server, so test each server one at a time.
- Rollback: keep the previous values in your secrets manager until the window closes, then revert in reverse order: front ends first, then Scalelite records, then servers.
- Change record: log the time, each component changed and the test results, so your security team can show that the rotation was completed and verified.
- Separate checksum tightening: make changes to accepted algorithms in a different window from the secret change, so any rejection has a single likely cause.
After any rollback, repeat the same test calls so you know the restored values work before classes resume.
Keeping the BigBlueButton secret out of browser code and logs
The shared secret signs every BigBlueButton API call, so anyone who holds it can create meetings and build valid join links. The six areas below cover where the secret must live, how requests get signed, and where it tends to leak during and after a rotation.
Keep the secret in server configuration
Store the shared secret only in server-side configuration on each BigBlueButton host and in the back-end settings of every component that makes API calls, including Greenlight, LMS plugins, custom portals and Scalelite. After a rotation with bbb-conf --setsecret, confirm that each component holds the new value and that none still uses the old one. Ask each integration owner where their copy lives, because a secret copied into a deployment script, a container image or a CI variable is easy to miss during a rotation.
Never expose the secret to browsers
The BigBlueButton API documentation warns against embedding the shared secret in a web page. Keep it out of JavaScript bundles, HTML templates, inline scripts and any configuration file a browser can fetch, including files served from a static site or a single-page application build. Check source maps too, since they can reveal values that minified code appears to hide. Any copy in browser-readable output is a leak, and it needs a rotation even if the page is later removed.
BigBlueButton API docsSign join and create URLs on the server
Compute the checksum for create and join calls on your back end, after the user has been authenticated, and send the browser only the finished signed URL. The browser then never handles the secret, and your server decides which parameters are signed. Generate these URLs for each request and keep them out of public caches. Confirm in the API documentation for your version how long a signed join URL remains usable, and design your portal so a shared link does not grant access to other people.
Keep it out of tickets and logs
No copy of the secret belongs in tickets, chat threads, runbooks or pull requests, because those copies persist and spread. When you run bbb-conf --setsecret, use a terminal session whose history you control, and avoid typing the value into commands that land in shell history files. Confirm in the install docs for your version how the value is supplied, and avoid forms that place it on the command line. Review web server and application logs, debug output and monitoring tools for any record of configuration values.
Restrict who reads configuration files
On each server, limit read access to the configuration files that hold the secret to root and the services that need it. Check file ownership and permissions after every rotation, since a package update or a manual edit can change them. Apply the same rule to backups, snapshots, configuration management repositories and any administrator workstation that copies files. Review group memberships on each host regularly, because one broad group can expose the secret to people who need shell access for unrelated tasks.
Scan front ends and repositories after rotation
After each rotation, search front-end source, built assets, public and internal Git repositories, CI logs and container images for the old secret. Deleting a file does not remove the value from Git history, so a leaked secret stays discoverable until history is rewritten and the old value is retired. Check forks, gists and documentation examples as well. Record which locations you searched and what you found, so the next rotation starts from a known list.
Questions teams ask before rotating the secret or changing checksum policy
What does it cost to rotate the BigBlueButton secret and change checksum policy?
Cost follows the written scope, and the main drivers are the number of front ends, the Scalelite pool size, how many integrations hold the secret, and how many of them need a checksum policy change. DeployOpen does not publish a price list, so a quote is built from that inventory. The rotation is one-time work, while any later rotation you schedule repeats the same steps. Ask the quote to list each front end, each Scalelite node, each integration checked and retested, and each checksum change, with review and retest shown as separate lines. A fixed-scope agreement should also state what is excluded, such as repairing integrations that were never inventoried.
How long does rotating the shared secret take?
Time depends on how many places hold the secret, not on the command itself. A single server with a complete inventory is a short change, while a Scalelite pool with several front ends takes longer because every component must match before the old value is retired. Plan the sequence in the written scope: confirm the inventory, stage the new secret on each component, agree a change window, switch, then verify joins and API calls. Integrations whose owners are hard to reach often delay a window, so confirm owner availability before booking it. Ask for a dated plan in the quote so the schedule can be checked against your change calendar.
What must our team provide before a secret rotation starts?
Before work starts, your team provides the inputs the rotation depends on. The main items are:
- A current inventory of every front end that holds the shared secret, including Greenlight, LMS plugins, custom portals and any scripts that call the API.
- Administrative access to each BigBlueButton server and the Scalelite host, with the configuration files and database access the change requires.
- An agreed change window, a named owner for each integration, and a rollback plan that those owners have reviewed.
A missing inventory entry is the easiest way for a front end to fail after the change, so check the list before the window is booked.
Can our internal team rotate the BigBlueButton secret without a partner?
Yes, for a single server with a complete inventory. An internal team with Linux and BigBlueButton administration skills can change the secret with bbb-conf --setsecret and then update each front end that holds it. Pools raise the stakes: with Scalelite, the secret must match across the load balancer and every server it manages, and a mismatch causes failed joins. Have a second engineer review the change list, and test a meeting join and an API call from every front end before closing the window. A partner is most useful when the pool is large, when integrations are poorly documented, or when no one on staff has made this change before.
Can changing the checksum policy break older integrations?
Yes. Limiting accepted checksums to SHA-256 or stronger can break an integration that still sends SHA-1 checksums, which the BigBlueButton API documentation describes for legacy use. The default is SHA-256, and SHA-384 and SHA-512 are supported since version 2.5. Before changing the policy, record which algorithm each integration sends, test each one against a staging server, and keep a dated rollback plan. Older plugins and LMS modules are the first place to check, so confirm their version and algorithm with the vendor. Schedule the policy change separately from the secret rotation so that any failure can be traced to a single change.
Where should the BigBlueButton secret be stored so it stays out of browser code?
Keep the secret only on servers and in server-side configuration, never in a page, template, script or client-side bundle. The API documentation warns against embedding the shared secret in a web page. Each integration should compute the checksum on its backend and send only the finished request URL to the browser when it is needed. After the rotation, check page source, JavaScript bundles and LMS theme files, and search built front-end assets for both the old and new values. Store the secret in your secrets manager or in restricted configuration files, and limit who can read them to the people who maintain the integration.
What should we verify after rotating the secret and checksum policy?
Verify that the old secret is rejected and the new secret is accepted at every component. The checks to run are:
- Each BigBlueButton server and each Scalelite node rejects requests signed with the old secret.
- Each front end completes a test meeting create and join using the new secret.
- Requests signed with a checksum algorithm outside the new policy return an error, and requests using permitted algorithms succeed.
- Browser source and built assets contain no copy of the secret.
Record the results with the date and the person who ran each check, so the evidence is available during your next review.
Limits to confirm in your environment before changing checksum policy
A stricter checksum policy and a new shared secret only work when every caller and the server agree. The six checks below cover what you must confirm in your own environment first, because the answers depend on the installed version, your front ends and how your team will test the change.
Checksum support per client
Each front end, LMS plugin and API client must send a checksum the server still accepts once you limit algorithms. Record which algorithms each one signs with in the installed version, including Greenlight, Scalelite, any LMS plugin and any in-house portal code. A client that only signs with SHA-1 will fail as soon as legacy algorithms are disabled, so list every client now, before the change window is set.
Locate the checksum limit setting
The setting that restricts which checksum algorithms the server accepts may live in a different place for each release. Find it in the configuration for your exact installed version, and confirm its name and behavior in the BigBlueButton API documentation before you edit anything. Do not copy a setting name from a forum thread, blog post or older runbook. Then test the change on a staging server and check that the accepted list matches what you expect.
BigBlueButton API docsScalelite and its database
Scalelite sits in front of a pool of BigBlueButton servers, so a rotated secret must reach it as well as every back-end server. Confirm how Scalelite stores the secret for each server it manages, and whether that value lives in its configuration, its PostgreSQL database or both. Also check whether the Redis cache holds anything derived from the old secret that needs clearing. Plan a separate update step for each location and name the person who owns it.
Recordings and cached join links
Join links and API URLs carry checksums built from the secret that was current when they were created. Confirm whether your LMS, Greenlight or portal stores join URLs, bookmarks or scheduled-meeting links that will fail after rotation, and whether those links are rebuilt on each use. Also check whether any job that manages recordings calls the API later and needs the new secret. Decide which links are rebuilt, which are replaced and which are left to expire.
Proof that the old secret fails
Rotation is only finished when the old secret stops working everywhere. Define the test before the change: an API call signed with the old secret should be refused at every front end, LMS plugin and Scalelite entry point, and a call signed with the new secret should succeed. Ask who runs each test, where the results are recorded and what the team does if any caller still succeeds with the old value. Keep the test script in your change record.
Rotation window and live classes
A secret change can break a join in progress or a scheduled class that starts while some callers still hold the old value. Pick a window that avoids live classes, agreed with your LMS administrators and instructors, and confirm which classes run through it. Check whether meetings already in progress keep running after the relevant services are restarted, and verify that behavior in your installed version. Agree on a rollback path and name who can decide to use it.
Why SHA-1 should be a temporary exception
Treat SHA-1 as a temporary exception, not a setting to keep. The BigBlueButton API documentation describes SHA-256 as the default checksum, keeps SHA-1 for legacy use, and lists SHA-384 and SHA-512 as available since version 2.5. Any new integration, portal or front end should start on SHA-256 or stronger, so the number of callers that still depend on SHA-1 can only fall. Record SHA-1 as a migration item with a named owner in your change log before you rotate the shared secret, so the exception has a clear end point. The API documentation at BigBlueButton API docs explains how the checksum is built and which algorithms are accepted.
Start by listing every system that signs API calls: each Greenlight instance, LMS plugin, custom portal and Scalelite deployment that calls your BigBlueButton servers. For each one, confirm the checksum algorithm in its configuration, because a front end can keep an old default after an upgrade. On the server side, review API access logs for the checksum parameter and group requests by the length of the checksum value, since each algorithm produces a digest of a different length. Any call with a SHA-1 length identifies a caller that still needs work. Confirm in your version's documentation how the server restricts accepted algorithms and whether it logs rejected calls, so you can test the restriction before you enforce it.
Plan the upgrade caller by caller, starting with systems you operate and ending with third-party integrations, which may depend on a vendor release. Move each caller to SHA-256 in a staging environment, join a test meeting, and confirm that create, join and end calls all succeed. Rotate the shared secret in the same window only if you can update every caller at once, because a partial update will fail on whichever systems still hold the old secret. Remove SHA-1 from the accepted list only after your logs show no SHA-1 calls over a period your operations team has agreed, and every owner has confirmed their cutover. Keep a documented rollback plan for any integration that cannot yet be changed.
How DeployOpen scopes and delivers secret rotation and checksum policy
DeployOpen treats the BigBlueButton API secret as a credential with a named owner, a planned rotation and a list of every system that holds it. The written scope fixes which front ends, Scalelite pools and API callers are included, which checksum algorithms the servers will accept, and how the secret stays out of browser code. Each change is tested against every integration before the old secret is removed, and the client receives the runbook and configuration record.
How we scope
- The written scope lists every front end, Scalelite pool and API caller that holds the shared secret today.
- It names the checksum algorithms each server accepts, which should be SHA-256 or stronger for this deployment.
- Fixed-scope engagements put the rotation steps, rollback point and acceptance checks in writing before work starts.
How we build
- Rotate the secret on each BigBlueButton server with
bbb-conf --setsecretand record the change. - Update every front end and Scalelite to the new value before the old secret is removed.
- Remove the secret from browser code, templates and client-side bundles, and keep it in server-side configuration only.
How we hand over
- Test each front end against the new secret and keep the request and response records as evidence.
- A runbook covering rotation steps, rollback, checksum settings and the owner of each system that holds the secret.
- Configuration notes that your security team can review against its own control requirements.
How we support
- Ongoing support is available as a retainer for secret rotation, checksum policy reviews and BigBlueButton upgrades.
- Security testing of the API can check that weak checksums are rejected and that the secret does not appear in pages.
- Agree the next rotation date and checksum review at handover so the cycle has a named owner.

