core (xmpp): server certificate validation:
XMPP server certificate is now checked, and connection is refused (by default) if it's not valid. Certificate check can be disabled in the new parameter "Configuration/check_certificate". If certificate checking is disabled, a warning note is sent on every new connection. Twisted and Wokkel are temporarly monkey patched in sat.core.tls_patches module, until modifications are merged upstream.
This commit is contained in:
parent
867f58cd4e
commit
1b8345f4af
1 changed files with 131 additions and 28 deletions
|
|
@ -19,6 +19,8 @@
|
|||
|
||||
import sat
|
||||
from sat.core.i18n import _, languageSwitch
|
||||
from sat.core import patches
|
||||
patches.apply()
|
||||
from twisted.application import service
|
||||
from twisted.internet import defer
|
||||
from twisted.words.protocols.jabber import jid
|
||||
|
|
|
|||
Loading…
Reference in a new issue