Hello, I am trying to install development server on my computer using docker image. I want my development http server to send REST requests to this docker openvidu instance. I have certificate.key and certificate.cert issued by letsencrypt and I have set my domain A record to 127.0.0.1, so that when I visit my domain it actually shows content from my localhost development server.
I’ve followed official documentation steps for deployment using custom certificates.
- I’ve set environment variable CERTIFICATE_TYPE=owncert
- I’ve added -v /path/to/mycertificate-files:/opt/openvidu/owncert to my
docker run command. I can verify that/opt/openvidu/owncert/
contains mycertificate.key
andcertificate.cert
files.
However, my browser still shows warning that certificate is self signed.
I’m using docker image openvidu/openvidu-server-kms:2.16.0
I can accept this self signed certificate in my browser, but my server app refuses to communicate with openvidu server using https protocol.
How can I make my docker instance of openvidu to use given certificate and key?
PS: I can’t use directly letsencrypt because it won’t be able to find my fully qualified domain at address 127.0.0.1