---
title: ZEC Configuring HTTPS
slug: zixi-broadcaster-v19-new-ui/zec-configuring-https
createdAt: 2024-12-26T18:59:23.082Z
---

ZEC supports HTTPS encryption based on OpenSSL. ZEC expects certificate files in X.509 textual format (sometimes called ‘pem’) with a full chain of certificates, each of which starts with “----BEGIN CERTIFICATE----", and the associated private key file, which starts with “----BEGIN PRIVATE KEY----". The certificate can be provided by an SSL/TLS certificate provider (Certification Authority) where the domain is registered, such as VeriSign, Digicert, etc. Alternatively, the certificate can be self-signed. A self-signed certificate is a certificate that is signed with its own private key. Self-signed certificates can be used to encrypt data just as well as CA-signed certificates, but your users will be presented with a warning that says that the certificate is not trusted by their computer or browser. Therefore, self-signed certificates should only be used if you do not need to prove your service’s identity to its users (e.g., non-production or non-public servers).&#x20;

## Obtaining a CA-signed Certificate

Reach out to the hosting provider for instructions on how to obtain a CA-signed HTTPS certificate. As part of this process, you will be required to generate a certificate signing request (CSR). A CSR consists mainly of the public key of a key pair and some additional information. Both of these components are inserted into the certificate when it is signed. To learn more about generating a CSR, go to - [https://www.digitalocean.com/community/tutorials/openssl-essentials-working-with-ssl-certificates-private-keys-and-csrs](https://www.digitalocean.com/community/tutorials/openssl-essentials-working-with-ssl-certificates-private-keys-and-csrs)

## Creating a Self-signed Certificate

Instead of obtaining a CA-signed certificate, you can create a self-signed certificate.&#x20;

You can generate self-signed X.509 certs with OpenSSL by using the following command:

```bash
openssl req -x509 -newkey rsa:2048 -keyout selfsigned_key.pem -out selfsigned_cert.pem
```

To learn more about generating a self-signed certificate, go to - [https://www.digitalocean.com/community/tutorials/openssl-essentials-working-with-ssl-certificates-private-keys-and-csrs](https://www.digitalocean.com/community/tutorials/openssl-essentials-working-with-ssl-certificates-private-keys-and-csrs)

## Uploading the Certificate and Private Key

After obtaining a CA-signed certificate or creating a self-signed one, you will need to upload the certificate and private key to ZEC.&#x20;

**To upload the certificate and private key:**

::::WorkflowBlock
:::WorkflowBlockItem
Go to **Settings > HTTPS Administration**.
:::

:::WorkflowBlockItem
Select the **Enable HTTPS Administration** checkbox.
:::

:::WorkflowBlockItem
In the **HTTPS certificate uploaded** field, click **Upload Certificate** and select the certificate file.&#x20;
:::

:::WorkflowBlockItem
In the **HTTPS private key uploaded** field, click **Upload Private Key** and select the Private Key.&#x20;
:::

:::WorkflowBlockItem
In the **HTTPS Private Key Passphrase** field, type the passphrase or leave it empty.
:::

:::WorkflowBlockItem
Click **Apply**.&#x20;

If the process was successful, the **SSL setup status** field will turn to "**OK**".
:::
::::

