1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-27 00:32:07 +01:00
Smack/smack-core/src/main
Florian Schmaus 9ec7d628c8 TLSUtils.disableHostnameVerificationForTlsCertificates()
(yeah, I know)

Sometimes "a friend" has setup an XMPP service which uses a self-signed
cert. While we can get a decent amount of security by using techniques
like e.g. the MemorizingTrustManager, there's still a pitfall. If the
service's TLS certificates contains no or the wrong service/hostname
information, Smack will throw an CertificateException. Therefore provide
an API call to disable hostname verification.
2015-01-17 12:17:28 +01:00
..
java/org/jivesoftware/smack TLSUtils.disableHostnameVerificationForTlsCertificates() 2015-01-17 12:17:28 +01:00
resources/org.jivesoftware.smack Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00