Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

Mateusz Manderae1b8315f5e68
diff --git a/docs/production/authentication-methods.md b/docs/production/authentication-methods.md
index 5ad58959c95..d1ed9b45893 100644
--- a/docs/production/authentication-methods.md
+++ b/docs/production/authentication-methods.md
@@ -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:
```