Trust website certificate in macOS

Valid use cases I came across for doing this:

  1. Enabling HTTPS for router's LAN web access.

Steps: