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

[GitHub] [couchdb] jiahuili430 commented on a diff in pull request #4575: Fix warnings about TLS distribution

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


##########
rel/overlay/etc/vm.args:
##########
@@ -82,7 +82,8 @@
 ##      [{certfile, "</path/to/erlserver.pem>"},
 ##       {secure_renegotiate, true}]},
 ##     {client,
-##      [{secure_renegotiate, true}]}].
+##      [{secure_renegotiate, true},
+##       {verify, verify_none}]}].

Review Comment:
   I tried to use `{verify, verify_peer}`, but get errors about bad certificates, or just hang with `*** ERROR: Shell process terminated!`. So add `{verify, verify_none}` to suppress the warning.
   ```
   *** ERROR: Shell process terminated! (^G to start new job) ***
   =NOTICE REPORT==== 6-May-2023::13:58:20.360922 ===
   TLS client: In state certify at ssl_handshake.erl:2080 generated CLIENT ALERT: Fatal - Bad Certificate
   ```



-- 
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