From 02f776146c3ac73b026c2640d4e71c72ce8e449d Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Tue, 3 Jul 2018 21:07:24 -0400 Subject: [PATCH] Add mobile devices instructions Fixes #24 --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 6a04da8..c0e649c 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,14 @@ Warning: the `rootCA-key.pem` file that mkcert automatically generates gives com ## Advanced topics +### Mobile devices + +For the certificates to be trusted on mobile devices, you will have to install the root CA. It's the `rootCA.pem` file in the folder printed by `mkcert -CAROOT`. + +On iOS, you can either email the CA to yourself, or serve it from an HTTP server. After installing it, you must [enable full trust in it](https://support.apple.com/en-nz/HT204477). + +For Android, you will have to install the CA and then enable user roots in the development build of your app. See [this StackOverflow answer](https://stackoverflow.com/a/22040887/749014). + ### Changing the location of the CA files The CA certificate and its key are stored in an application data folder in the user home. You usually don't have to worry about it, as installation is automated, but the location is printed by `mkcert -CAROOT`.