Rancher 2.5 HSTS

Hello everyone,
I’m using rancher on dev environment with rke but browser cannot able to access UI because returning some errors about HSTS.

I have HSTS on nginx-ingress controllers but error still same so how can I fix that ?
nginx-configmap:

  hsts: "false"
  hsts-include-subdomains: "false"
  hsts-max-age: "0"
  hsts-preload: "false"

Thank you

I had the same issue on a fresh air-gapped installation. Any suggestions?

The solution I’ve found : I’ve exported tls.crt located on secret tls-rancher to a file called tls.crt then imported it into firefox as certificate authority.