–2020-04-29 08:08:31-- https://my_doamin.com/ssl_cer/generated-csr.crt
Resolving my_doamin.com (my_doamin.com)…
Connecting to my_doamin.com (my_doamin.com) connected.
ERROR: cannot verify certificate, issued by ‘CN=Go Daddy Secure Certificate Authority - G2,OU=http://certs.godaddy.com/repository/,O=GoDaddy.com\, Inc.,L=S$
Unable to locally verify the issuer’s authority.
To connect to my_doamin.com insecurely, use `–no-check-certificate’.
- wget -O /opt/openvidu/owncert/certificate.key https://my_doamin.com/ssl_cer/generated-private-key.key
–2020-04-29 08:08:31-- https://my_doamin.com/ssl_cer/generated-private-key.key
Resolving my_doamin.com (my_doamin.com)
Connecting to my_doamin.com (my_doamin.com)|connected.
ERROR: cannot verify my_doamin.com’s certificate, issued by ‘CN=Go Daddy Secure Certificate Authority - G2,OU=http://certs.godaddy.com/repository/,O=GoDaddy.com\, Inc.,L=S$
Unable to locally verify the issuer’s authority.
To connect to my_doamin.com insecurely, use `–no-check-certificate’.
- echo ‘[Openvidu] error with the certificate files’
[Openvidu] error with the certificate files
- exit 1
Cloud-init v. 19.4-33-gbb4131a2-0ubuntu1~16.04.1 running ‘modules:final’ at Wed, 29 Apr 2020 08:08:26 +0000. Up 41.78 seconds.
2020-04-29 08:08:31,277 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
2020-04-29 08:08:31,279 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2020-04-29 08:08:31,280 - util.py[WARNING]: Running module scripts-user (<module ‘cloudinit.config.cc_scripts_user’ from '/usr/lib/python3/dist-packages/cloudinit/confi$
Cloud-init v. 19.4-33-gbb4131a2-0ubuntu1~16.04.1 finished at Wed, 29 Apr 2020 08:08:31 +0000. Datasource DataSourceEc2Local. Up 46.48 seconds
This is my Log What i do ?!
Hi @Karuppasamy_N,
Openvidu is not able to download the files you have on https://my_doamin.com/ssl_cer/generated-csr.crt
and https://my_doamin.com/ssl_cer/generated-private-key.key
because of a certificate problem with my_doamin.com. Could you upload them to another site and try again?
Regards
Hi @Oscar.Soto
I mention the sample domain this is my Original Domain zohrx.com this domain have these files… Still it’s not working
Hi, @Karuppasamy_N
You have and error with the SSL certificated in you page http://zohrx.com/ for this reason the command wget is not able to download your .key and .cert files. Try this in your PC using the command: wget https://zohrx.com/ssl_cer/generated-private-key.key
$ wget https://zohrx.com/ssl_cer/generated-private-key.key
--2020-04-29 11:41:00-- https://zohrx.com/ssl_cer/generated-private-key.key
Resolving zohrx.com (zohrx.com)... 3.101.34.23
Connecting to zohrx.com (zohrx.com)|3.101.34.23|:443... connected.
ERROR: cannot verify zohrx.com's certificate, issued by ‘CN=Go Daddy Secure Certificate Authority - G2,OU=http://certs.godaddy.com/repository/,O=GoDaddy.com\\, Inc.,L=Scottsdale,ST=Arizona,C=US’:
Unable to locally verify the issuer's authority.
To connect to zohrx.com insecurely, use `--no-check-certificate'.
You have two options, repaired this or deploy Openvidu using Selfsigned certificated and when you have completed the installation, connect for SSH in the Openvidu Server Instance. Change to root user with the command sudo su
and go to the folder /opt/openvidu
. Edit the .env
file and change the variables:
OPENVIDU_DOMAIN_OR_PUBLIC_IP=YOUR_DOMAIN_NAME
CERTIFICATE_TYPE=owncert
Finally upload the files generated-private-key.key
and generated-csr.crt
to the /opt/openvidu/owncert
folder with the names certificate.key
and certificate.cert
and restart openvidu with the command ./openvidu restart
Regards
hi @Oscar.Soto
ERROR: Couldn’t connect to Docker daemon at http+docker://localhost - is it running?
If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
i configure all things but u try to restart openvidu i get this error
This error is because not a root user. Try changed to root with sudo su
Regards
Hi @Oscar.Soto
Yeah i am running this but how much time i wait for this server restart more than 1 hour passed still restarting
That’s definitely not normal. Please show me the openvidu logs with this command:
docker-compose logs openvidu-server
and the proxy logs with this command:
docker-compose logs nginx
These commands must be executed in the /opt/openvidu
folder. And the content of the variable OPENVIDU_DOMAIN_OR_PUBLIC_IP
in the .env
file.
HI @Oscar.Soto
[ERROR] 2020-04-30 05:03:32,477 [main] io.openvidu.server.config.OpenviduConfig - .env file not found at /./.env
i got this error i am running /opt/openvidu folder
Please execute the following commands and share with us the results:
sudo su
cd /opt/openvidu
docker-compose logs openvidu-server
docker-compose logs nginx
cat .env
Thanks
Someone should fix the instructions to add this one line.
What instructions are you looking for?