summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/usage/https-support.md
diff options
context:
space:
mode:
authorPE1NUT <47217436+PE1NUT@users.noreply.github.com>2020-09-30 18:16:13 +0200
committerGitHub <noreply@github.com>2020-09-30 12:16:13 -0400
commitf2c29f2d2588b1dfd5013bf478a7261d073ed2cd (patch)
treefdc82675af16e95be9e470b615d781363a945731 /docs/content/doc/usage/https-support.md
parent615e78415090af1aecc91a21820a573bec4afddb (diff)
downloadgitea-f2c29f2d2588b1dfd5013bf478a7261d073ed2cd.tar.gz
gitea-f2c29f2d2588b1dfd5013bf478a7261d073ed2cd.zip
Clarification on the use of certificate chains (#12986)
* Clarification on the use of certificate chains * As per @bagasme Co-authored-by: Bagas Sanjaya <bagasdotme@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Bagas Sanjaya <bagasdotme@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'docs/content/doc/usage/https-support.md')
-rw-r--r--docs/content/doc/usage/https-support.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/usage/https-support.md b/docs/content/doc/usage/https-support.md
index a94372ff1f..dfafa21c5c 100644
--- a/docs/content/doc/usage/https-support.md
+++ b/docs/content/doc/usage/https-support.md
@@ -32,7 +32,7 @@ HTTP_PORT = 3000
CERT_FILE = cert.pem
KEY_FILE = key.pem
```
-
+Note that if your certificate is signed by a third party certificate authority (i.e. not self-signed), then cert.pem should contain the certificate chain. The server certificate must be the first entry in cert.pem, followed by the intermediaries in order (if any). The root certificate does not have to be included because the connecting client must already have it in order to estalbish the trust relationship.
To learn more about the config values, please checkout the [Config Cheat Sheet](../config-cheat-sheet#server).
### Setting up HTTP redirection