Bitfocus AS
Bitfocus AS

Loading...

Footer

Bitfocus

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

FacebookInstagramGitHubYouTubeLinkedIn

Products

  • Buttons
  • Companion

Integrations

  • Supported Devices
  • Developer Community
  • Connection Development

Support

  • Support Overview
  • Documentation
  • Video Tutorials
  • Community Forum

Sales

  • Resellers & Integrators
  • Buttons Pricing

Updates

  • Case Studies
  • Events & Trade Shows
  • Press Releases
  • Product Updates
  • Webinars

Legal

  • Legal Overview
  • Privacy Policy
  • Buttons EULA
  • Terms & Cookie Policy

Company

  • About us
  • Press kit
  • Careers
Co-funded by the European Union

Our Bitfocus Workflow 2.0 project is co-funded by the European Union’s Creative Europe programme. About the project

© 2026 Bitfocus AS. All rights reserved.

Replace the HTTPS certificate
Docs for
Overview
Getting started
What is Bitfocus Buttons?
Install Buttons and get started
Manage your Buttons license
Activate Buttons offline
Find your way around Buttons
Create your first backup
Add an ATEM connection
Choose a control method
Choose an installation path
Install Buttons on Debian or Ubuntu
Understand HA clustering
High Availability
Upgrade Buttons
Remove Buttons
Positions
Understand positions
Encoders and taps
Create a position
Custom button layouts
Add controls and sections to a position
Feedback variables with text
Create your first button
Use a connection's presets
Build more capable button actions
Encoders
Add more feedback to a button
Organize controls in a section
Shift Section
Organize controls with a Folder Section
Add a Popover Section
Build and reuse a Shared Section
Show different controls by role
Choose a routing panel
Build a Router Section
Understand Custom Routers
Custom Router panel
Surfaces
Surface compatibility
Add and attach a surface
Device orientation
Connections
Update a connection's module safely
Monitor and troubleshoot a connection
Port forwarding (HA)
Router integrations
VideoHub and AJA KUMO
Utah Scientific BPS
Generic SW-P-08
Nevion VideoIPath
Arkona BLADE//runner
Evertz Quartz
Imagine LRC
Riedel MediorNet
Nevion MRP
Ross Video NK router
TAG Video Systems MCS
Routing
Physical routing
Shape direction
Configure ports and labels
Take a physical route
Understand route status
Topology graph
Routing Presets
Get started with virtual routing
Configure Nested Shapes
Reverse routing
Tielines
Routing Projects
Routing settings
Troubleshoot a route
Tally
Understand the Tally system
Send ATEM tally and labels to a UMD
Interpret Active Tally state
TSL/UMD connections
Diagnose tally problems
NMOS
Understand NMOS in Buttons
Connect Buttons to an NMOS Registry
Built-in Registry Server
Configure NMOS connections
Discover and adopt
Browse the NMOS inventory
Manage NMOS multicast addresses
Diagnose NMOS problems
Cuelists
Understand Cuelists
Run and stop cues
Build a Cuelist
Cuelist state
Read and advance a running Cuelist
Control a Cuelist from a Position
Workflows
Understand workflows
Build your first workflow
Encoders
Reuse a group of workflow nodes safely
Port forwarding (HA)
Troubleshoot a workflow
Recipes
Sequence a timed automation
Call an HTTP endpoint from a workflow
REST endpoint
Use variables
Understand variable scope
Understand nested variables
Update expressions for v1.8
Plan and use Tags
Access
Create and manage users
Create roles and assign permissions
Grant access to specific resources
Set up PIN and NFC sign-in
SSO
Get started with SSO
Connect a generic OIDC provider
Connect LDAP or Active Directory
Map identity claims to roles
Secure a Buttons deployment
Integrations
External control
Connect to Bitfocus Listener
USB Relay
Install USB Relay on Windows
Install USB Relay on macOS
Desktop app
Install USB Relay on Linux
Install USB Relay on a Raspberry Pi
Get started with the Control API
Secure and monitor the Control API
Control API reference
AI assistants (MCP)
Connect an AI assistant
Edit with an assistant in the editor
What an assistant can do
Manage MCP access and tokens
Actions
HTTP replies
Administration
Enable and manage installable features
Services and health
Configure and monitor scheduled backups
Restore a backup and verify it
Export or import Buttons configuration
Store and rotate connection secrets
Replace the HTTPS certificate
HA backup and recovery
Settings
Collect support information
Reference
Glossary
Button Inspector reference
Network ports reference
Expressions
Internal actions reference
Custom Router button types
Startup configuration reference
Workflow nodes
Connection workflow nodes
Workflow variable and action nodes
Internal workflow nodes
Position workflow nodes
API workflow nodes
Utility workflow nodes

Loading...

Previous
← Store and rotate connection secrets
Next
HA backup and recovery →
Contact support →
You are viewing documentation for Buttons 1.10.See the docs for Buttons 1.8
Buttons/Administration/Replace the HTTPS certificate

Replace the HTTPS certificate

View as Markdown
Buttons creates its own self-signed certificate automatically so HTTPS works out of the box, without waiting on anything external. Replacing it with a certificate your organization already trusts removes the browser warning users see on a self-signed certificate, and lets you follow whatever certificate practice you already use.

Before you begin#

  • Access to Settings → Certificates.
  • To upload a certificate: the server certificate and its matching private key, both RSA and both as PEM text files. No other key type or file format is currently supported (see Prepare the certificate files).
  • If your certificate has a chain, the intermediate certificates to include.
  • Awareness that installing, generating, or removing a certificate restarts the web service, briefly interrupting access.

Understand what's installed today#

Settings → Certificates shows the installed certificate's Common Name and the date it was uploaded, under Installed certificate. It doesn't show the full subject, the Subject Alternative Names, or the expiry date. Select Download to save a copy of the certificate and inspect those details with your usual tools.
Buttons doesn't warn you as a certificate approaches expiry: track renewal dates yourself, the same way you would for any other certificate you manage.

The automatic certificate#

When no certificate of your own is installed, Buttons generates one at startup for the hostname set in the app's Environment Settings (or with -publicHostname on a headless install). It covers that hostname and, when one is known, the machine's IP address, uses a 4096-bit RSA key, and is valid for 15 years. If the hostname changes, Buttons generates a new automatic certificate at the next startup.
A certificate you upload or generate yourself is never replaced automatically.

Plan the certificate's hostname coverage#

Make sure the certificate covers every hostname and IP address people will use to reach this Buttons instance, as Subject Alternative Names (SANs). Current browsers check only the SAN list and ignore the Common Name, so a certificate whose name appears only in the Common Name still shows a warning.
Buttons doesn't check hostname coverage for you: it accepts a certificate that doesn't match how you're actually reaching the server, so a successful upload doesn't by itself confirm your hostname planning was right.

Plan for renewal#

Certificates from public certificate authorities are valid for at most 398 days, and that limit is getting shorter, so renewing is a regular task rather than a one-off. Note the expiry date when you install a certificate and plan the next replacement ahead of it.
Apple devices also refuse TLS certificates from a private certificate authority that are valid for more than 825 days. If macOS or iOS clients connect to Buttons with a certificate from your own internal authority, keep its validity within that limit.

Generate a self-signed certificate#

A self-signed certificate is useful for local or internal HTTPS when you don't have a certificate authority to hand. Browsers still warn about it unless you install it as trusted on each client; for more than a few clients, an internal certificate authority is usually easier to manage.
  1. Open Settings → Certificates.
  2. Next to Generate self-signed certificate, select Generate.
  3. Fill in the form:
  • Common name: the hostname people use to reach Buttons. The certificate covers only this name, so use a hostname rather than an IP address.
  • Organization, Locality, State, and Two letter country code: required.
  • Organizational unit: optional.
  • Validity period (days): from 1 to 36,500, default 365.
  • RSA Key size: 2048, 4096, or 8192 bits, default 4096.
  1. Select Generate and restart.
The new certificate replaces the installed one and isn't replaced automatically afterwards, even if the hostname changes.

Prepare the certificate files#

Buttons reads the certificate and key as PEM text: the files that start with lines such as -----BEGIN CERTIFICATE----- and -----BEGIN PRIVATE KEY----- (or -----BEGIN RSA PRIVATE KEY-----).
  • Binary formats such as DER, .pfx, or .p12 aren't accepted. Convert them to PEM first.
  • Password-protected private keys can't be read. Remove the password from a copy of the key before uploading, and delete that copy afterwards.
  • Certificate chain: put the server certificate first in the certificate file, followed by any intermediate certificates, all in the same file. Buttons serves the whole file, so clients receive the chain.

Upload a certificate#

  1. Open Settings → Certificates.
  2. Next to Upload certificate files, select Upload.
  3. Under Certificate, choose the certificate file, then under Private key, choose the key file. The private key can't be chosen until a certificate is set.
  4. Select Save and restart.
Buttons checks that the private key matches the certificate before saving, and rejects a key that isn't RSA. It doesn't check the certificate's chain of trust, its expiry, or whether its names match this server's hostname: confirm those yourself before uploading.

Handle the private key securely#

An uploaded private key is stored as it is in Buttons' database, not through the separate Secrets encryption used for connection credentials. Treat the certificate files with the same care you'd give any private key: transfer them securely, and don't leave copies lying around after the upload.

Replace or remove a certificate#

There's no undo for a certificate change: installing a certificate removes the previous one entirely, and Buttons doesn't keep a history. Before replacing a certificate, keep your own copy of the current certificate and key.
To go back to a self-signed certificate, generate one.
To remove the installed certificate, select Remove next to it and confirm. This turns HTTPS off: users have to connect over HTTP until a certificate is installed again. The next time Buttons starts, it creates a new automatic certificate, which turns HTTPS back on.

When HTTPS is handled outside Buttons#

If HTTPS is terminated somewhere else, for example by a reverse proxy, the server can be started with the DISABLE_HTTPS_SUPPORT environment variable set to 1 or true. Settings → Certificates then shows "HTTPS is managed externally" and hides the generate and upload options.

Certificates in a High Availability deployment#

A High Availability deployment uses the same certificate on all three machines. Generate, upload, replace or remove it from this page in the same way as on a single machine.

If you get stuck#

What you see
What to try
The upload says the certificate and private key don't match.
Confirm you're uploading the private key that was generated together with this certificate, not a key from another certificate.
The upload says only RSA keys are supported.
The certificate uses another key type, such as ECDSA. Request or generate an RSA certificate instead.
The certificate or key file won't load.
Confirm both are PEM text files and that the key isn't password-protected.
Users still see a certificate warning after uploading.
Confirm the certificate's Subject Alternative Names cover the hostname or address being used, and that the intermediate certificates follow the server certificate in the same file.
Users see a warning with a self-signed certificate.
That's expected unless the certificate is installed as trusted on each client. Use a certificate from a trusted authority to avoid it.
You need to know when the current certificate expires.
Select Download and check the certificate's details, or your certificate authority's records.
HTTPS stopped working after you removed the certificate.
Install a certificate, or restart Buttons so it creates a new automatic certificate.

Where to go next#

  • Secure a Buttons deployment, for TLS as part of a broader security baseline.
  • Startup configuration reference, for the hostname and HTTPS port settings.
  • Deploy Buttons with High Availability, for what an HA deployment needs and how it's installed.

Was this helpful?

Was this helpful?

0 of 0 users found this page helpful