To enable users to participate in TrueConf Server conferences via WebRTC application, you need to set up an HTTPS connection on the server and open UDP ports beforehand.
If the connection is not safe (HTTP), your guests will see a warning upon opening TrueConf Server or conference webpage from their browser.
https
. For example: https://video.company.com
.You may experience issues while joining TrueConf web conferences hosted on TrueConf Server 4.7.0 or earlier using Chromium-based browsers (e.g. Google Chrome 89+). For more details on this issue, please read our guide. We recommend you update your TrueConf Server instance to v.4.7.1 to ensure compatibility with the latest browser versions.
Table of Contents
How to set up HTTPS connection
You will need SSL certificate file in X.509 (.сrt) format and a corresponding private key (.key).
There are two types of certificates: commercial and self-signed.
Self-signed certificate is free. You can generate this certificate for TrueConf Server by yourself from the control panel. The certificate is valid for 365 days (and prolonged further without limits). It can be used for WebRTC application testing. However, each conference participant should manually add it to the trust list in their browser.
Trusted certificate is fully functional and secured. However, this certificate is paid. Here’s where you can get it:
- «Let’s encrypt» (free of charge for 90 days);
- Active Directory local certification center;
- DigiCert.
How to use trusted certificate in TrueConf Server
Open TrueConf Server control panel and choose Use custom certificate in Web→ HTTPS section (HTTPS configuration).
Enter the HTTPS port that can be accessed from the internet in the field that appears. By default standard TCP Port 443 is used.
After that upload certificate and its key files to the corresponding fields of Custom certificate block.
After the files have been uploaded, added certificate notification will appear.
How to create self-signed certificate
Open TrueConf Server control panel, proceed to Web → HTTPS section and press Create new SSL certificate button.
When this certificate expires, you can generate a new one.
How to convert SSL certificate to .crt format to set up HTTPS connection
TrueConf Server requires an SSL certificate for HTTPS connection. If the file extension is not .crt, you need to convert the certificate to this format. For this purpose, you can use open-source OpenSSL libraries pre-installed on Linux-based platforms. However, if you want to use the libraries on Windows, you can download them by following the link.
Depending on the certificate file extension, you may convert it in two steps:
- conversion into the .pem format
- change the file extension to .crt.
Converting the certificate file into a PEM file
- from .der extension
openssl x509 -inform der -in certificate.cer -out certificate.pem
- from .p7b extension
openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer
- from .pfx extension
openssl pkcs12 -in certificate.pfx -out certificate.cer -nodes
Change the file extension to .crt and add an intermediate certificate
Change the extension of the resulting .pem file to .crt. You should have a certificate.crt
file.
Sometimes, browsers may show a warning that your HTTPS certificate is untrusted. To remove the warning, you need to add an intermediate certificate when configuring an HTTP server. It is needed for testing HTTPS connection established with the help of an SSL certificate.
Complete the following actions to add an intermediate certificate:
- Open root, intermediate and end-entity server certificates in Notepad.
- Copy the content of the intermediate certificate and paste it at the end of the end-entity server certificate.
- Repeat step 2 for the root certificate.
- Save changes in the root certificate.
Check TrueConf Server configuration once the certificate has been installed
Incorrect port data or certificate parameters may result in TrueConf Server launch issues next time, and your administrator might lose access to the server control panel.
You can initiate HTTPS server configuration without restarting it by pressing Test Configuration button (Web→ HTTPS→HTTPS Configuration in TrueConf Server control panel).
If your certificate is installed correctly (HTTPS port must also be accessible) you will see The configuration has been successfully tested string.
Press Apply after you’ve tested the configuration. Server service will be restarted.
If you don’t need to use HTTPS connection you can also disable it in the corresponding control panel section.