From 18ea7a2e6c94348600c2036728e30aee197d1037 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Wed, 8 Nov 2023 12:08:14 +0000 Subject: [PATCH] docs: Update subdomain docs and .gitignore --- .gitignore | 7 +++++++ doc/how-to/how-to-setup-custom-subdomains.md | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ed67414da7..48f0b97f90 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,10 @@ hasura.planx.uk/.env.test /playwright-report/ /playwright/.cache/ api.planx.uk/tmp/ + +# Ignore certificate files +*.chain +*.key +*.pfx +*.pkcs12 +*.p12 \ No newline at end of file diff --git a/doc/how-to/how-to-setup-custom-subdomains.md b/doc/how-to/how-to-setup-custom-subdomains.md index 52e50c18b4..c75b3b2782 100644 --- a/doc/how-to/how-to-setup-custom-subdomains.md +++ b/doc/how-to/how-to-setup-custom-subdomains.md @@ -33,8 +33,8 @@ This guide will walk through the process of setting a custom domain for a new te 4. **PlanX** - Format certificates if provided with PKCS #12 ```shell - openssl pkcs12 -nocerts -nodes -in -out council.key [ -password pass: ] - openssl pkcs12 -nokeys -in -out council.cert [ -password pass: ] + openssl pkcs12 -nocerts -nodes -in -out council.key [ -password 'pass:' ] + openssl pkcs12 -nokeys -in -out council.cert [ -password 'pass:' ] ``` The `.cert` file might contain the certificate chain inside it, so please separate the first certificate in the file (the certificate body) from the rest of the certificates in the file (the certificate chain).