Skip to content

Commit

Permalink
docs: Update subdomain docs and .gitignore (#2398)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Nov 8, 2023
1 parent 1316638 commit 1ea405e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions doc/how-to/how-to-setup-custom-subdomains.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <FILENAME> -out council.key [ -password pass:<PASSWORD> ]
openssl pkcs12 -nokeys -in <FILENAME> -out council.cert [ -password pass:<PASSWORD> ]
openssl pkcs12 -nocerts -nodes -in <FILENAME> -out council.key [ -password 'pass:<PASSWORD>' ]
openssl pkcs12 -nokeys -in <FILENAME> -out council.cert [ -password 'pass:<PASSWORD>' ]
```

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).
Expand Down

0 comments on commit 1ea405e

Please sign in to comment.