TABLE OF CONTENTS
IT administrators can configure and manage the TLS certificate through the Admin Console during installation and update it whenever needed.
TLS Certificate Options
Customers can provide their own TLS certificate or opt for automatic certificate generation by Labfolder.
The certificate must cover all subdomains described in the Labfolder Domain & Subdomains section. Wildcard certificates (e.g., *.labfolder.com) are fully supported.
The following options are available:
1. Customer-Provided TLS Certificate
To configure a customer-provided TLS certificate, upload the required files in the Admin Console:

Custom certificate configurations
- Certificate File
Upload a .crt or .cer file containing your own certificate first, followed by all intermediate certificates. The root certificate is optional. Clients receive exactly this file. If an intermediate certificate is missing, clients that cannot download it themselves, such as scripts and integrations, may reject the connection.
- Private Key File
Upload the .key file corresponding to your domain certificate.
- CA Certificate
Upload a trusted root authority certificate bundle in .crt format. This is required for certificates signed by unknown CAs or self-signed certificates. The platform services use this bundle to trust your certificate. It is not sent to clients.
Intermediate certificates must be included in the Certificate File above, after your own certificate. Adding them only to the CA Certificate field is not sufficient.
2. Labfolder-Generated TLS Certificates
Labfolder offers two automatic certificate generation options:

Labfolder managed certificates
- Let’s Encrypt Certificate
Automatically generated and validated by Let’s Encrypt. See more details on Let’s Encrypt’s page.
Let’s Encrypt requires access to the cluster to validate the certificate. For this reason, the following endpoint must be exposed on the public internet /.well-known/acme-challenge/*.
This is a full example of the Let’s Encrypt validation request using the labfolder.com domain: http://account.labfolder.com/.well-known/acme-challenge/cr1rsRTImVz_s7HHk7biTQ. It makes one request for each subdomain available.
- Self-Signed Certificate
- Generated by the Labfolder platform.
- Can be manually distributed within the internal network to establish trust.
To fetch the generated certificate, run the command:
sudo kubectl get secret labfolder-tls-certificate -o jsonpath={".data.ca\.crt"} | base64 --decode > ca.crtBoth Labfolder-generated certificates are managed using a cert-manager. If you are providing your Kubernetes installation and already have a cert-manager, it is possible to disable Labfolder’s cert-manager in favor of your installation. Lastly, limiting the cert-manager only to Labfolder’s namespace is possible by selecting the Namespace Issuer option.
Changing or Renewing the TLS Certificate
IT administrators can modify or renew the TLS certificate through the Admin Console.
Saving the configuration does not change the running installation. Instead, it creates a new version in Version History. The changes only take effect once this version has been deployed. Until then, the Config tab continues to show the configuration of the currently deployed version.
Important: If Version History contains versions newer than the currently deployed version, do not make certificate changes through the Config tab. Otherwise, the next update brings back the old certificate.
Instead:
Open Version History in the Admin Console.
Find the newest version and click the Edit config icon in its row.
Enter the updated certificate details in that version and save the configuration.
Check the preflight results before proceeding.
Before deploying, take a full snapshot. In the Admin Console, open Snapshots, start a full snapshot and wait until it is marked as completed. This is important because the database is updated during deployment, and the Rollback function does not reverse these database changes. A full virtual machine snapshot taken by your IT team can also be used.
Return to Version History and deploy the version you have just updated. If an older version is marked as Required, deploy that version first, then the version you updated.
Please note that deploying a newer version also installs the updates included in that version.
After deployment, you can verify the certificate using the following command:
openssl s_client -connect <your-host>:443 -showcertsThe output should show your certificate followed by the intermediate certificate(s), and the verification result should display:
Verify return code: 0 (ok)Understanding the Certificate Chain
A TLS certificate chain consists of multiple certificates that help a client verify the authenticity of a server’s certificate. It includes:
1. End-Entity Certificate (Leaf Certificate) – Issued to the website or service.
2. Intermediate Certificate(s) – Issued by a trusted Certificate Authority (CA) to bridge the gap between the root and the server certificate.
3. Root Certificate – The trusted authority that signs intermediate certificates. These are pre-installed in operating systems and browsers.
How the TLS Certificate Chain Works
When a client (e.g., a web browser) connects to a server using TLS, the following process occurs:
1. Server Sends Certificate Chain
- The server presents its certificate along with intermediate certificates to the client.
2. Client Validates the Chain
- The client checks if an intermediate certificate signs the server’s certificate.
- It then checks if a trusted root certificate signs the intermediate certificate.
- The process continues until a known root certificate is found.
3. Establishing Trust
- The client proceeds with a secure connection if the certificate chain is valid and leads to a trusted root certificate.
- If validation fails, the client may display a security warning.
Example of a TLS Certificate Chain
Root CA Certificate → Intermediate CA Certificate → Server CertificateFor example:
- GlobalTrust Root CA
- Intermediate CA - SecureWeb Authority
- labfolder.com
The browser or system trusts GlobalTrust Root CA, which in turn validates the Intermediate CA -SecureWeb Authority and finally verifies the labfolder.com certificate, which will include the domain and all the subdomains described above.
In this example, the labfolder.com certificate must be uploaded in the Certificate File, followed by the Intermediate CA - SecureWeb Authority certificate. The root certificate does not need to be included if it is already trusted by the clients. The CA Certificate field is used by the platform services to establish trust and is not sent to clients.
Inserting Multiple CA Certificates
If your certificate chain contains multiple intermediate certificates, they must all be included in the Certificate File, after your own certificate, in the correct order. The root certificate is optional.
The CA Certificate field should contain the trusted root authority certificate bundle when required. Intermediate certificates must not be added only to this field, as they will not be sent to clients.
Example: Merging Certificates into a Single .cer File
Assume you have the following certificate files:
labfolder.crt (Server Certificate)
intermediate1.crt (First Intermediate CA Certificate)
intermediate2.crt (Second Intermediate CA Certificate)
root.crt (Root CA Certificate, optional)
To combine your server certificate and intermediate certificates into one file, run:
cat labfolder.crt intermediate1.crt intermediate2.crt > fullchain.cer
Upload the resulting fullchain.cer file as the Certificate File in the Admin Console.
To verify the certificate chain beforehand, first combine the intermediate certificates:
cat intermediate1.crt intermediate2.crt > intermediates.cerThen run:
openssl verify -untrusted intermediates.cer labfolder.crt
The expected output is:
labfolder.crt: OK
If you are using an internal CA, include the root certificate in the verification command:
openssl verify -CAfile root.crt -untrusted intermediates.cer labfolder.crt
Please note that the intermediate certificates must be included in the Certificate File, not uploaded only to the CA Certificate field.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article