Tigase Server Configuration
Prev | Chapter 23. Creating and Loading the Server Certificate in pem Files | Next

## Tigase Server Configuration

Starting from version 5.1.0 and newer it’s not needed to use external libraries nor extra configuration in init.properties file. With this version Tigase uses, loaded by default thus no need to configure it, following class:

    --ssl-container-class=tigase.io.SSLContextContainer

Older versions require different cofiguration. In order to be able to load server certificates directly from pem files you need to have tigase-extras package installed in your server libs/ directory in version at least 0.1.0. If you use Tigase server binary package other than mini this library is included by default. If you haven’t changed manually anything in your XML configuration file put following line in your initial.properties file:

    --ssl-container-class=tigase.extras.io.PEMSSLContextContainer

Copy all your pem files with certificates into certs/ subdirectory in Tigase server installation, stop the server, remove XML configuration file and start the server. XML configuration will be automatically regenerated with the new SSLContainer used by all components and all certificates will be automatically loaded.

If you have changed your XML configuration file manually and you can not lost those changes you have now to manually change the existing SSLContainer class with the new one. Just replace all occurrences of the default SSLContainer - tigase.io.SSLContextContainer with the new - tigase.extras.io.PEMSSLContextContainer, copy all your pem files with certificates into certs/ subdirectory in Tigase server installation and restart the server.

Prev | Up | Next
Installing/Loading Certificate To the Tigase Server | Home | Chapter 24. Installing StartCom Certificate in Your Linux System