Generates a certificate valid for both localhost and example.com, handy when an app is reachable through a tunnel or hosts file entry. mkcert names the output files after the domains, like localhost+1.pem. Add '*.example.com' to cover subdomains.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.