HTTPS (SSL) for Studio, MediaHub, and CreativeHub
Erizos Studio Server, MediaHub, and CreativeHub support running over both HTTP and HTTPS. To enable HTTPS, you need to provide two specific files:
cert.pem– the SSL certificatekey.pem– the private key
Note
These files can be stored anywhere on the local disk, as long as you select them in the Studio settings. You do not have to place them in a specific default directory.
How to Enable HTTPS
For Studio
- Open Erizos Studio.
- Go to
Settings → General. - Scroll to the bottom and locate the
HTTPSsection. - Toggle the HTTPS switch to turn it on.
- Click the icon next to
Certificateand select the certificate file (.crt/.pem). - Click the icon next to
Keyand select the private key file (.key/.pem). - Press
Save Settings.
For MediaHub
- Open MediaHub.
- Go to
Settings→Settings. - Repeat steps 3–7 from the Studio instructions.
For CreativeHub
- Open CreativeHub.
- Go to
Admin→Settings. - Repeat steps 3–7 from the Studio instructions.
Once set, the server will load these files at startup and serve over HTTPS using the provided certificate and key.
Encrypted Private Keys and the Passphrase Field
If your private key (.key/.pem) is encrypted (protected with a password or passphrase), the server will not be able to use it automatically unless the passphrase is provided.
If the passphrase is not entered, the Studio may fail to start or not serve over HTTPS, and the browser will not accept the certificate properly.
Why this happens: Encrypted keys require a passphrase to unlock them. Without it, the server can't read the key, and the browser cannot establish a secure HTTPS connection.
If your key is encrypted:
- Type the passphrase into the
Passphrasefield. - Press
Save Settings.
Troubleshooting Tips
- Make sure the certificate and key files match (they should be generated as a pair).
- Check if the private key is encrypted. You can open the file in a text editor:
- If it starts with
-----BEGIN ENCRYPTED PRIVATE KEY-----, it's encrypted.
- If it starts with
- If you get browser errors or the Studio doesn’t load:
- Verify that the key is not encrypted or
- Make sure you entered the correct passphrase in Studio.
- Also, check your browser settings — especially if you're using self-signed certificates. You may need to allow insecure content or import the certificate manually.

