First I. tried to install on my MacBook and it didn’t work then I decide to install on fresh server so I installed in Azures cloud. I have domain name and own certificate and first I tried with public IP and selfsigned certificate setting in .env file and I got SSL error and chrome didn’t allowed to browse site but I guess everything worked but failed with SSL.
I updated config to domain name and letsencrypt and I see below error in logs:
=======================================
= START OPENVIDU PROXY =
=======================================
2020/07/26 17:54:23 [emerg] 56#56: cannot load certificate "/etc/letsencrypt/live/inteliexcel.in/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/inteliexcel.in/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/inteliexcel.in/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/inteliexcel.in/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
2020/07/26 17:54:57 [error] 11#11: *1 "/etc/nginx/html/index.html" is not found (2: No such file or directory), client: 49.36.133.111, server: , request: "GET / HTTP/1.1", host: "bienmediaserver.centralus.cloudapp.azure.com"
2020/07/26 17:55:03 [error] 11#11: *4 "/etc/nginx/html/index.html" is not found (2: No such file or directory), client: 49.36.133.111, server: , request: "GET / HTTP/1.1", host: "www.inteliexcel.in"
---------------------------------------
I deleted certificates folder and configured to use own certificates so copied certificates.key and certificate.crt (merged ca_bundle.cet and certificate.crt) files
I can browser requested page on https but I can see nginx page on http because nginx is running in docker container for OpenVidu.
# Hmmm… can't reach this page
**www.inteliexcel.in** refused to connect.
Try:
* Checking the connection
* Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
I executed report and I found below error in report:
---------------------------------------
openvidu_nginx_1
---------------------------------------
=======================================
= INPUT VARIABLES =
=======================================
Config NGINX:
- Http Port: 80
- Https Port: 443
- Allowed Access in Openvidu Dashboard: all
- Allowed Access in Openvidu API: all
Config Openvidu Application:
- Domain name: inteliexcel.in
- Certificated: owncert
- Letsencrypt Email: as@bientechnologies.com
- Openvidu Application: true
- Openvidu Application Type: CE
=======================================
= CONFIGURATION NGINX =
=======================================
Configure inteliexcel.in domain...
- New configuration: owncert
- Old configuration: owncert
- Owmcert certificate already exists, using them...
=======================================
= ALLOWED ACCESS =
=======================================
Adding rules...
Finish Rules:
Openvidu Dashboard:
- allow all;
Openvidu API:
- allow all;
=======================================
= START OPENVIDU PROXY =
=======================================
2020/07/26 18:24:52 [emerg] 56#56: cannot load certificate "/etc/letsencrypt/live/inteliexcel.in/fullchain.pem": PEM_read_bio_X509_AUX() failed (SSL: error:0908F066:PEM routines:get_header_and_data:bad end line)
nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/inteliexcel.in/fullchain.pem": PEM_read_bio_X509_AUX() failed (SSL: error:0908F066:PEM routines:get_header_and_data:bad end line)
---------------------------------------
I can use letsenrypt SSL Certificate if it can work or suggest me to fix the same. I can give server access if need or can show via anydesk. I will use this machine for testing and app development and we will be in requirements of pro license.
I am new to media server and containerise deployments so please bear with me.
Thanks