From d8f78a726688c8bc2d9bf028ede1a245b8258fcb Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 17 Feb 2018 11:06:33 +0000 Subject: [PATCH] serve http/webdav: update docs on SSL --- cmd/serve/httplib/httplib.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/cmd/serve/httplib/httplib.go b/cmd/serve/httplib/httplib.go index 54010c315..e2e28ef92 100644 --- a/cmd/serve/httplib/httplib.go +++ b/cmd/serve/httplib/httplib.go @@ -57,9 +57,14 @@ Use --realm to set the authentication realm. #### SSL/TLS By default this will serve over http. If you want you can serve over -https. You will need to supply the --ssl along with --cert and --key. -If you wish to do client side certificate validation then you will -need to supply --client-ca also. +https. You will need to supply the --cert and --key flags. If you +wish to do client side certificate validation then you will need to +supply --client-ca also. + +--cert should be a either a PEM encoded certificate or a concatenation +of that with the CA certificate. --key should be the PEM encoded +private key and --client-ca should be the PEM encoded client +certificate authority certificate. ` // Options contains options for the http Server