How to make Chrome trust self signed certificates? I have followed these instructions (available from Wayback Machine in case they disappear) to add the certificate of my Asus Router to the keychain but Chrome still refuses to trust it, with the error message "NET::ERR_CERT_COMMON_NAME_INVALID". However, Safari accepts it.

I have spent a lot of time on Google looking for answers and there are a lot of articles about this but they seem inconclusive (and many are old).

So how do I make this work?

In case it matters, the router is available both at 192.168.1.1 and router.asus.com (in both cases I use the port 8443).

Bonus: How do I make this certificate work from the outside (both in the case of a FQDN as well as when connecting using the IP-number).
The web page you linked to is old and now incorrect.

Chrome does not use the MacOS keychain any more. Safari does use this so that is why it works.

For more details see this answer.