Problem with local development using docker

Hi.

First of all thank you for this wonderful product. I am trying to use this locally for development purposes and now I have some issues that I cannot solve on my own. I followed the instructions for insecure React app (I have rewritten the code into functional components since I want to use it in my application). I have run openvidu server as docker run -p 4443:4443 --rm -e openvidu.secret=MY_SECRET openvidu/openvidu-server-kms:2.12.0 on OSX. The server seems to run without problems. Now then I try to join a session I always get an error self signed certificate. It does not matter, if I use https://localhost:4443 or https://127.0.0.1:4443 I get same error. I use Chrome, I even went to https://127.0.0.1:4443/accept-certificate and https://localhost:4443/accept-certificate and accepted the certificate, but that did not help. When I log-in into https://127.0.0.1:4443/ with OPENVIDUAPP user and MY_SECRET password and I press TEST, I also get an error from console. I see the request was made to Request URL: https://OPENVIDUAPP:MY_SECRET@localhost:4443/api/sessions with response:

{
  "timestamp": "2020-04-09T13:25:52.932+0000",
  "status": 401,
  "error": "Unauthorized",
  "message": "Unauthorized",
  "path": "/api/sessions"
}

Do I need to setup something special for OSX environment or am I missing something?

Best regards.

I have switched to using openvidu-node-client npm module directly and I have set process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; and now it seems it is working. I can create a session and join.