docs: Give an example command for generating SAML key/cert pair.

This commit is contained in:
Mateusz Mandera 2021-05-29 20:57:46 +02:00 committed by Tim Abbott
parent b31ef13cf1
commit e1b8315f5e
1 changed files with 5 additions and 1 deletions

View File

@ -421,7 +421,11 @@ it as follows:
and the corresponding private key in `/etc/zulip/saml/zulip-private-key.key`. Note that
the certificate should be the single X.509 certificate for the server, not a full chain of
trust, which consists of multiple certificates. The private key cannot be encrypted
with a password, as then Zulip will not be able to load it.
with a password, as then Zulip will not be able to load it. An example pair can be
generated using:
```
openssl req -x509 -newkey rsa:2056 -keyout zulip-private-key.key -out zulip-cert.crt -days 365 -nodes
```
4. Set the proper permissions on these files and directories:
```