mkcert -CAROOT

Category: Web App Development

mkcert -CAROOT

Print the local CA certificate directory

Shows where mkcert stores rootCA.pem and rootCA-key.pem. Copy rootCA.pem to phones or containers to trust the same CA there, or point NODE_EXTRA_CA_CERTS at it for Node.js. Keep the key file private.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.