From e44ee1abdf36b65c19871432d763ac6b85fb500e Mon Sep 17 00:00:00 2001 From: ststdimov <30728763+ststdimov@users.noreply.github.com> Date: Tue, 4 Aug 2020 15:17:38 +0300 Subject: [PATCH 1/3] Added LInux commands for keychains Added Linux commands for adding generated certificates to the keychains --- readme.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index ce5fa572..2a756777 100644 --- a/readme.md +++ b/readme.md @@ -17,10 +17,18 @@ Getting started ``` And add the certificate to your keychain: - + + - MacOS ``` security import cert.pem; security add-trusted-cert cert.pem ``` + + - Linux (Ubuntu, Debian) + ``` + sudo cp cert.pem /usr/local/share/ca-certificates/ + sudo sudo update-ca-certificates + ``` + 4. Run the app (no build is required in development mode), `make run` 5. Open `https://local.ft.com:5050/content/` From e0ef60f0a63766cc99fff0cde1f470bc83ad056a Mon Sep 17 00:00:00 2001 From: ststdimov <30728763+ststdimov@users.noreply.github.com> Date: Tue, 4 Aug 2020 16:46:43 +0300 Subject: [PATCH 2/3] Remove additional sudo Co-authored-by: ludrob --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 2a756777..17dfa729 100644 --- a/readme.md +++ b/readme.md @@ -26,7 +26,7 @@ Getting started - Linux (Ubuntu, Debian) ``` sudo cp cert.pem /usr/local/share/ca-certificates/ - sudo sudo update-ca-certificates + sudo update-ca-certificates ``` 4. Run the app (no build is required in development mode), `make run` From 54587e6561258e97125806e7f462179c740fde95 Mon Sep 17 00:00:00 2001 From: ststdimov <30728763+ststdimov@users.noreply.github.com> Date: Tue, 4 Aug 2020 16:52:27 +0300 Subject: [PATCH 3/3] Change certificate extension to crt Co-authored-by: ludrob --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 17dfa729..9ddca2ff 100644 --- a/readme.md +++ b/readme.md @@ -25,7 +25,7 @@ Getting started - Linux (Ubuntu, Debian) ``` - sudo cp cert.pem /usr/local/share/ca-certificates/ + sudo cp cert.pem /usr/local/share/ca-certificates/ft-google-amp.crt sudo update-ca-certificates ```