Mercurial > prosody-modules
comparison mod_auth_ccert/README.markdown @ 4432:e83284d4d5c2
mod_auth_ccert/README: Add setting to ensure Prosdy asks for client certificate
This used to be the default for all services, but since it triggers
annoying popups in web browsers it was inverted in Prosody and only s2s
enables it, so it needs to be explicitly enabled for c2s again.
See trunk 115b5e32d960
Thanks debacle
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 06 Feb 2021 21:34:25 +0100 |
parents | 5d84b7fbe3aa |
children | 0e3f5f70a51d |
comparison
equal
deleted
inserted
replaced
4431:8b69e0b56db2 | 4432:e83284d4d5c2 |
---|---|
20 certificate_match = "xmppaddr" -- or "email" | 20 certificate_match = "xmppaddr" -- or "email" |
21 | 21 |
22 c2s_ssl = { | 22 c2s_ssl = { |
23 cafile = "/path/to/your/ca.pem"; | 23 cafile = "/path/to/your/ca.pem"; |
24 capath = false; -- Disable capath inherited from built-in default | 24 capath = false; -- Disable capath inherited from built-in default |
25 verify = {"peer"; "client_once"}; -- Ask for client certificate | |
25 } | 26 } |
26 | 27 |
27 | 28 |
28 Compatibility | 29 Compatibility |
29 ============= | 30 ============= |