From 9593c42c4d8fae2a7b52fd9dc7a3f9e253b71f15 Mon Sep 17 00:00:00 2001 From: Andreas Streichardt Date: Mon, 24 Oct 2016 13:33:40 +0200 Subject: [PATCH] Make ssl stuff copy pastable --- Documentation/DocuBlocks/serverKeyfile.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/DocuBlocks/serverKeyfile.md b/Documentation/DocuBlocks/serverKeyfile.md index a22f115602..8230489e3f 100644 --- a/Documentation/DocuBlocks/serverKeyfile.md +++ b/Documentation/DocuBlocks/serverKeyfile.md @@ -3,7 +3,7 @@ @brief keyfile containing server certificate `--ssl.keyfile filename` -If SSL encryption is used, this option must be used to specify the filename +If SSL encryption is used, this option must be used to specify the filename of the server private key. The file must be PEM formatted and contain both the certificate and the server's private key. @@ -23,7 +23,7 @@ cp server.key server.key.org openssl rsa -in server.key.org -out server.key # sign the csr with the key, creates certificate PEM file "server.crt" -openssl x509 -req -days 365 -in server.csr -signkey server.key -out +openssl x509 -req -days 365 -in server.csr -signkey server.key -out \ server.crt # combine certificate and key into single PEM file "server.pem"