From 64cdd920e7a7ce7721e32576e199f01c4623cf52 Mon Sep 17 00:00:00 2001 From: Daniel Schregenberger Date: Tue, 6 Oct 2015 18:53:14 +0200 Subject: [PATCH] added documentation for SSL usage --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 9561a80..08ef76d 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,19 @@ Usage: ./ympd [OPTION]... --help this help ``` +SSL Support +----------- +To run ympd with SSL support: + +- create a certificate (key and cert in the same file), example: +``` +# openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 1000 -nodes +# cat key.pem cert.pem > ssl.pem +``` +- tell ympd to use a webport using SSL and where to find the certificate: +``` +# ./ympd -w "ssl://8081:/path/to/ssl.pem" +``` Copyright ---------