[tor-commits] [sbws/master] docs: add verify option to man and example

juga at torproject.org juga at torproject.org
Fri Feb 15 17:40:52 UTC 2019


commit 216b29bd4ca1d3dc137d95ff2a17d916001114d1
Author: juga0 <juga at riseup.net>
Date:   Sat Dec 8 16:46:08 2018 +0000

    docs: add verify option to man and example
    
    and explain how to disable certificate validation.
    
    Closes bug #28788. Bugfix v0.4.0.
---
 docs/source/examples/sbws.example.ini | 2 ++
 docs/source/man_sbws.ini.rst          | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/docs/source/examples/sbws.example.ini b/docs/source/examples/sbws.example.ini
index 0130bdb..d11343a 100644
--- a/docs/source/examples/sbws.example.ini
+++ b/docs/source/examples/sbws.example.ini
@@ -10,3 +10,5 @@ foo = on
 [destinations.foo]
 # the domain and path to the 1GB file.
 url = https://example.com/does/not/exist.bin
+# To disable certificate validation, uncomment the following
+# verify = False
\ No newline at end of file
diff --git a/docs/source/man_sbws.ini.rst b/docs/source/man_sbws.ini.rst
index 0ea98b5..8f4d579 100644
--- a/docs/source/man_sbws.ini.rst
+++ b/docs/source/man_sbws.ini.rst
@@ -69,6 +69,9 @@ destinations.STR
   url = STR
     The URL to the destination. It must include a file path.
     It can use both http or https.
+  verify = BOOL
+    Whether or not to verify the destination certificate.
+    (Default: True)
 
 tor
 





More information about the tor-commits mailing list