OpenVidu not running in secure 443 port

I am trying to deploy OpenVidu on an EC2 instance. As we can not create the “elastic IP” in our workplace, I have followed the below steps to deploy the Openvidu.
https://docs.openvidu.io/en/2.13.0/deployment/deploying-on-premises/

It worked all fine, however, the openvidu server is only accessible by port 80 and not by 443.

  1. I created a URL for our server using route53,
  2. Created a cert from AWS and added to the respective route53 configuration.
  3. In the openvidu config (/opt/openvidu/.env) , I updated the cert type as : owncert , however as AWS does not give us cert and key file, I can not add it to the respective location as docs suggest.
  4. I tried to use ELB and I have my certs on ELB that points to the EC2, however, It still doesn’t seem to be working.

Can someone assist.?

First of all, is better to deploy latest version 2.14.

Second, OpenVidu is designed to use owncert with cert and key files. Why dont you get it from AWS?

Putting cert in ELB is not supported out of the box, but you can change nginx container to meet your needs.

Regards