How to make Chrome trust self signed certificates?
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.