SSL for Grafana error: tls: first record does not look like a TLS handshake

I followed this brazilian tutorial and I’m having the same problem as decribed on this topic. After running grafana, it keeps spamming “TLS handshake error from 127.0.0.1:48610: tls: first record does not look like a TLS handshake” on console, with different ports.

The app runs correctly on browser, even though that it gives the warning of insecure connection and “NET::ERR_CERT_AUTHORITY_INVALID”.
The problem might be that the certificate is self-signed and not trusted right?