SSL certs not working (or I'm dumb)

I have a server inside my local network running adguardhome and i wanted to have SSL certs for the admin panel

i used the tailscale cert command followed by my machine name (assigned by magicdns) and then i followed that up with my tailnet name
and i successfully got a .crt and a .key file
but after including those in adguard home and after setting it up properly with the correct open ports
it still shows me that it is not secure on windows when i type in https://local_ip:https_port
when i go into security tab in the inspect element menu, it shows me broken https followed by this “NET::ERR_CERT_COMMON_NAME_INVALID” (the admin panel can still be accessed)

Thanks in advance for any help :slight_smile: