Letsencrypt certificate

letsencrypt certificate created manually by dns-01 challenge , how to use this in openvidu deployment 2.15.0 CE on premise ubuntu server 20.04

Hi @Upendra_Kumar

This is automatically generated by OpenVidu if you’ve followed the instructions from here
You need to write these parameters in your /opt/openvidu/.env file:

# Domain name. If you do not have one, the public IP of the machine.
# For example: 198.51.100.1, or openvidu.example.com
DOMAIN_OR_PUBLIC_IP=<YOUR_DOMAIN NAME>

# OpenVidu SECRET used for apps to connect to OpenVidu server and users to access to OpenVidu Dashboard
OPENVIDU_SECRET=<YOUR_SECRET>

# Certificate type:
# - selfsigned:  Self signed certificate. Not recommended for production use.
#                Users will see an ERROR when connected to web page.
# - owncert:     Valid certificate purchased in a Internet services company.
#                Please put the certificates files inside folder ./owncert
#                with names certificate.key and certificate.cert
# - letsencrypt: Generate a new certificate using letsencrypt. Please set the
#                required contact email for Let's Encrypt in LETSENCRYPT_EMAIL
#                variable.
CERTIFICATE_TYPE=letsencrypt

# If CERTIFICATE_TYPE=letsencrypt, you need to configure a valid email for notifications
LETSENCRYPT_EMAIL=<YOUR_EMAIL>

After that, just execute as root in /opt/openvidu

./openvidu restart

Regards,
Carlos