You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "nickva (via GitHub)" <gi...@apache.org> on 2023/05/26 17:00:40 UTC

[GitHub] [couchdb] nickva commented on a diff in pull request #4575: TLS: add `{verify, verify_peer}` to enable verification

nickva commented on code in PR #4575:
URL: https://github.com/apache/couchdb/pull/4575#discussion_r1207081053


##########
dev/run:
##########
@@ -264,6 +278,10 @@ def setup_context(opts, args):
         "auto_ports": opts.auto_ports,
         "locald_configs": opts.locald_configs,
         "with_nouveau": opts.with_nouveau,
+        "enable_tls": opts.enable_tls,
+        "tcp_node": opts.tcp_node,
+        "hostname": socket.gethostname() if opts.enable_tls else "127.0.0.1",
+        "bind_address": "0.0.0.0" if opts.enable_tls else "127.0.0.1",

Review Comment:
   This is great, thank you, @rnewson, for figuring it out. This would a nice resource for users to start with and get a decent setup without too much of a headache.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org