aboutsummaryrefslogtreecommitdiffstats
path: root/man/prosodyctl.markdown
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-11-26 20:11:03 +0100
committerKim Alvefur <zash@zash.se>2016-11-26 20:11:03 +0100
commit562a902d415f3a0962354c0f12776ec3e1db594f (patch)
tree5fafe37e76936f880749432bffa3174a7ca120cd /man/prosodyctl.markdown
parentb17b81319300e94b7870e6e9c658f9528bd4c9b9 (diff)
parent234d7178f15e860dc6c624f1e16dd245372ec34d (diff)
downloadprosody-562a902d415f3a0962354c0f12776ec3e1db594f.tar.gz
prosody-562a902d415f3a0962354c0f12776ec3e1db594f.zip
Merge 0.10->trunk
Diffstat (limited to 'man/prosodyctl.markdown')
-rw-r--r--man/prosodyctl.markdown29
1 files changed, 28 insertions, 1 deletions
diff --git a/man/prosodyctl.markdown b/man/prosodyctl.markdown
index 217dfd3d..e4c355a2 100644
--- a/man/prosodyctl.markdown
+++ b/man/prosodyctl.markdown
@@ -5,7 +5,7 @@ author:
date: '2015-12-23'
section: 1
title: PROSODYCTL
-...
+---
NAME
====
@@ -80,6 +80,30 @@ reload
status
: Prints the current execution status of the prosody server daemon.
+Certificates
+------------
+
+prosodyctl can create self-signed certificates, certificate requests and
+private keys for use with Prosody. Commands are of the form
+`prosodyctl cert subcommand`. Commands take a list of hosts to be
+included in the certificate.
+
+request hosts
+: Create a certificate request (CSR) file for submission to a
+ certificate authority. Multiple hosts can be given, sub-domains are
+ automatically included.
+
+generate hosts
+: Generate a self-signed certificate.
+
+key host \[size\]
+: Generate a private key of 'size' bits (defaults to 2048). Invoked
+ automatically by 'request' and 'generate' if needed.
+
+config hosts
+: Produce a config file for the list of hosts. Invoked automatically
+ by 'request' and 'generate' if needed.
+
Debugging
---------
@@ -110,6 +134,9 @@ details of how these commands work you should see ejabberdctl(8).
OPTIONS
=======
+`--config filename`
+: Use the specified config file instead of the default.
+
`--help`
: Display help text for the specified command.