Skip to main content
Trust storeYou must have the certificate(s) ready in a PKCS12 trust store named truststore.p12. The trust store must contain all certificates required for all trusted communication initiated by xorlab Authentication Service (LDAP, SAML2, etc.). For every service, only the outermost signer certificate is required to be a part of the trust store as long as the service supplies a correct certificate chain. By inserting a concrete server certificate into the trust store, that certificate is pinned explicitly.To create a trust store, you can use Keytool or OpenSSL. In a nutshell, you have to add your certificate file (.pem, .crt, .cer, .p7b, or .p7c) to the trust store. You can do this with the following keytool command:keytool -import -file certificate.pem -alias ca1 -keystore truststore.p12This command will export your certificate.pem file to the truststore.p12 trust store file, giving the certificate a ca1 alias.
  1. Open the auth/auth/auth.yml file using the XCC Expert Editor.
  2. Add the following block and enter the password of your provided trust store:
    auth.yml
    The password of the trust store delivered with a new deployment is documented in Deployment Defaults → Trust store password. Access to that page is restricted.
  3. Click Publish. The authentication configuration becomes active within about one minute.
  4. Switch to the CLI of the XCC and execute the following instructions one by one:
  5. Copy the truststore.p12 file containing your certificate into the folder specified above.
  6. Execute the following instructions one by one:
The Authentication service restarts automatically and applies the new configuration.