tigase-server icon indicating copy to clipboard operation
tigase-server copied to clipboard

Some problems I encountered when using java to connect tigase

Open fullky opened this issue 4 years ago • 1 comments

I have a problem with… Smack I use;Error Message. image

Do I need a certificate? If so, is that tigase's certificate? Can I connect to tigase without a certificate?

Details (please complete the following information):

  • Tigase version: [e.g. 8.1.2]
  • JVM flavour and version [e.g. AdoptOpenJDK11]
  • Operating system/distribution/version [e.g. Linux centos7.8]

fullky avatar Nov 25 '21 02:11 fullky

Yes, you need certificate that matched domain/Vhost that you've configured in the Tigase. tigase-server should automatically generate self-signed certificate but those are not considered secure enough thus most of the libraries/clients reject them by default (some give you option to accept those but it depends on the client/library).

Please check our documentation: Server Certificates

woj-tek avatar Nov 26 '21 17:11 woj-tek