Can't connect to ha

Hi.
I’m trying connecting my node red to ha but I keep getting this message:

Connection to home assistant could not be established with config https://blabla:123456

I’m using home assistant 0.77.3 (not hassio) on Ubuntu.
I also configured self signed certificate.
When I’m disabling the ssl connection (removing certificate from configuration file), I’m able to connect the node-red to ha. When I’m restoring the ssl, the problem restore as well.

Of course I’m using the right port and connection type (http/https) within node-red configuration.

I’m trying for few hours to figure it out but I don’t know how to solve this.
Any help will be appreciated.
Thanks!

Maybe this helps … Home Assistant Community Add-on: Node-RED