aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-11-25 05:08:58 +0100
committerKim Alvefur <zash@zash.se>2016-11-25 05:08:58 +0100
commit14e7f873f0c3aa2172375805cb9fc47c3c11bbb6 (patch)
tree4004a8f3156a92c8be304d9d79a7b3669d30ea63 /man
parent63f7abff5ad751119b351f8c7fa82cf9d7c90f16 (diff)
downloadprosody-im-server-14e7f873f0c3aa2172375805cb9fc47c3c11bbb6.tar
prosody-im-server-14e7f873f0c3aa2172375805cb9fc47c3c11bbb6.zip
man/prosodyctl: Add section about certificate commands
Diffstat (limited to 'man')
-rw-r--r--man/prosodyctl.markdown26
1 files changed, 25 insertions, 1 deletions
diff --git a/man/prosodyctl.markdown b/man/prosodyctl.markdown
index 217dfd3d..6ef93d4a 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
---------