mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 22:56:21 +00:00
Add option to trust server's certificate
New tls policy "trust" added to /connect and /account. With the policy TLS connection is established even with invalid certificate. Note, that trust policy forces TLS connection and it fails when server doesn't support TLS. Examples: /connect <jid> tls trust /account <name> set tls trust
This commit is contained in:
@@ -582,6 +582,7 @@ cmd_ac_init(void)
|
||||
tls_property_ac = autocomplete_new();
|
||||
autocomplete_add(tls_property_ac, "force");
|
||||
autocomplete_add(tls_property_ac, "allow");
|
||||
autocomplete_add(tls_property_ac, "trust");
|
||||
autocomplete_add(tls_property_ac, "legacy");
|
||||
autocomplete_add(tls_property_ac, "disable");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user