From d8d73fcb89790dcb672a475ec6406c7ea7bc8f30 Mon Sep 17 00:00:00 2001 From: Nelson Martell Date: Tue, 26 Nov 2019 18:35:01 -0500 Subject: [PATCH] README: add note about advanced options (#218) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * :memo: Add note about advaced options in README Clarify position of advanced options argumnts (they won’t work if are placed after domain names) Add example. * Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index f9812c4..772f06e 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,14 @@ To only install the local root CA into a subset of them, you can set the `TRUST_ all other flags and arguments except -install and -cert-file. ``` +> **Note:** You _must_ place these options before the domain names list. + +#### Example + +``` +mkcert -key-file key.pem -cert-file cert.pem example.com *.example.com +``` + ### S/MIME mkcert automatically generates an S/MIME certificate if one of the supplied names is an email address.