Home
Home
German Version
Support
Impressum
25.2 Release ►

Start Chat with Collection

    Main Navigation

    • Preparation
      • Connectors
      • Create an InSpire VM on Hyper-V
      • Initial Startup for G7 appliances
      • Setup InSpire G7 primary and Standby Appliances
    • Datasources
      • Configuration - Atlassian Confluence Connector
      • Configuration - Best Bets Connector
      • Configuration - Box Connector
      • Configuration - COYO Connector
      • Configuration - Data Integration Connector
      • Configuration - Documentum Connector
      • Configuration - Dropbox Connector
      • Configuration - Egnyte Connector
      • Configuration - GitHub Connector
      • Configuration - Google Drive Connector
      • Configuration - GSA Adapter Service
      • Configuration - HL7 Connector
      • Configuration - IBM Connections Connector
      • Configuration - IBM Lotus Connector
      • Configuration - Jira Connector
      • Configuration - JVM Launcher Service
      • Configuration - LDAP Connector
      • Configuration - Microsoft Azure Principal Resolution Service
      • Configuration - Microsoft Dynamics CRM Connector
      • Configuration - Microsoft Exchange Connector
      • Configuration - Microsoft File Connector (Legacy)
      • Configuration - Microsoft File Connector
      • Configuration - Microsoft Graph Connector
      • Configuration - Microsoft Loop Connector
      • Configuration - Microsoft Project Connector
      • Configuration - Microsoft SharePoint Connector
      • Configuration - Microsoft SharePoint Online Connector
      • Configuration - Microsoft Stream Connector
      • Configuration - Microsoft Teams Connector
      • Configuration - Salesforce Connector
      • Configuration - SCIM Principal Resolution Service
      • Configuration - SemanticWeb Connector
      • Configuration - ServiceNow Connector
      • Configuration - Web Connector
      • Configuration - Yammer Connector
      • Data Integration Guide with SQL Database by Example
      • Indexing user-specific properties (Documentum)
      • Installation & Configuration - Atlassian Confluence Sitemap Generator Add-On
      • Installation & Configuration - Caching Principal Resolution Service
      • Installation & Configuration - Mindbreeze InSpire Insight Apps in Microsoft SharePoint On-Prem
      • Mindbreeze InSpire Insight Apps in Microsoft SharePoint Online
      • Mindbreeze Web Parts for Microsoft SharePoint
      • User Defined Properties (SharePoint 2013 Connector)
      • Whitepaper - Mindbreeze InSpire Insight Apps in Salesforce
      • Whitepaper - Web Connector - Setting Up Advanced Javascript Usecases
    • Configuration
      • CAS_Authentication
      • Configuration - Alerts
      • Configuration - Alternative Search Suggestions and Automatic Search Expansion
      • Configuration - Back-End Credentials
      • Configuration - Chinese Tokenization Plugin (Jieba)
      • Configuration - CJK Tokenizer Plugin
      • Configuration - Collected Results
      • Configuration - CSV Metadata Mapping Item Transformation Service
      • Configuration - Entity Recognition
      • Configuration - Exporting Results
      • Configuration - External Query Service
      • Configuration - Filter Plugins
      • Configuration - GSA Late Binding Authentication
      • Configuration - Identity Conversion Service - Replacement Conversion
      • Configuration - InceptionImageFilter
      • Configuration - Index-Servlets
      • Configuration - InSpire AI Chat and Insight Services for Retrieval Augmented Generation
      • Configuration - Item Property Generator
      • Configuration - Japanese Language Tokenizer
      • Configuration - Kerberos Authentication
      • Configuration - Management Center Menu
      • Configuration - Metadata Enrichment
      • Configuration - Metadata Reference Builder Plugin
      • Configuration - Mindbreeze Proxy Environment (Remote Connector)
      • Configuration - Personalized Relevance
      • Configuration - Plugin Installation
      • Configuration - Principal Validation Plugin
      • Configuration - Profile
      • Configuration - Reporting Query Logs
      • Configuration - Reporting Query Performance Tests
      • Configuration - Request Header Session Authentication
      • Configuration - Shared Configuration (Windows)
      • Configuration - Vocabularies for Synonyms and Suggest
      • Configuration of Thumbnail Images
      • Cookie-Authentication
      • Documentation - Mindbreeze InSpire
      • I18n Item Transformation
      • Installation & Configuration - Outlook Add-In
      • Installation - GSA Base Configuration Package
      • JWT Authentication
      • Language detection - LanguageDetector Plugin
      • Mindbreeze Personalization
      • Mindbreeze Property Expression Language
      • Mindbreeze Query Expression Transformation
      • SAML-based Authentication
      • Trusted Peer Authentication for Mindbreeze InSpire
      • Using the InSpire Snapshot for Development in a CI_CD Scenario
      • Whitepaper - AI Chat
      • Whitepaper - Create a Google Compute Cloud Virtual Machine InSpire Appliance
      • Whitepaper - Create a Microsoft Azure Virtual Machine InSpire Appliance
      • Whitepaper - Create AWS 10M InSpire Appliance
      • Whitepaper - Create AWS 1M InSpire Appliance
      • Whitepaper - Create AWS 2M InSpire Appliance
      • Whitepaper - Create Oracle Cloud 10M InSpire Application
      • Whitepaper - Create Oracle Cloud 1M InSpire Application
      • Whitepaper - MMC_ Services
      • Whitepaper - Natural Language Question Answering (NLQA)
      • Whitepaper - SSO with Microsoft AAD or AD FS
      • Whitepaper - Text Classification Insight Services
    • Operations
      • Adjusting the InSpire Host OpenSSH Settings - Set LoginGraceTime to 0 (Mitigation for CVE-2024-6387)
      • app.telemetry Statistics Regarding Search Queries
      • CIS Level 2 Hardening - Setting SELinux to Enforcing mode
      • Configuration - app.telemetry dashboards for usage analysis
      • Configuration - Usage Analysis
      • Deletion of Hard Disks
      • Handbook - Backup & Restore
      • Handbook - Command Line Tools
      • Handbook - Distributed Operation (G7)
      • Handbook - Filemanager
      • Handbook - Indexing and Search Logs
      • Handbook - Updates and Downgrades
      • Index Operating Concepts
      • Inspire Diagnostics and Resource Monitoring
      • Provision of app.telemetry Information on G7 Appliances via SNMPv3
      • Restoring to As-Delivered Condition
      • Whitepaper - Administration of Insight Services for Retrieval Augmented Generation
    • User Manual
      • Browser Extension
      • Cheat Sheet
      • iOS App
      • Keyboard Operation
    • SDK
      • api.chat.v1beta.generate Interface Description
      • api.v2.alertstrigger Interface Description
      • api.v2.export Interface Description
      • api.v2.personalization Interface Description
      • api.v2.search Interface Description
      • api.v2.suggest Interface Description
      • api.v3.admin.SnapshotService Interface Description
      • Debugging (Eclipse)
      • Developing an API V2 search request response transformer
      • Developing Item Transformation and Post Filter Plugins with the Mindbreeze SDK
      • Development of a Query Expression Transformer
      • Development of Insight Apps
      • Embedding the Insight App Designer
      • Java API Interface Description
      • OpenAPI Interface Description
    • Release Notes
      • Release Notes 20.1 Release - Mindbreeze InSpire
      • Release Notes 20.2 Release - Mindbreeze InSpire
      • Release Notes 20.3 Release - Mindbreeze InSpire
      • Release Notes 20.4 Release - Mindbreeze InSpire
      • Release Notes 20.5 Release - Mindbreeze InSpire
      • Release Notes 21.1 Release - Mindbreeze InSpire
      • Release Notes 21.2 Release - Mindbreeze InSpire
      • Release Notes 21.3 Release - Mindbreeze InSpire
      • Release Notes 22.1 Release - Mindbreeze InSpire
      • Release Notes 22.2 Release - Mindbreeze InSpire
      • Release Notes 22.3 Release - Mindbreeze InSpire
      • Release Notes 23.1 Release - Mindbreeze InSpire
      • Release Notes 23.2 Release - Mindbreeze InSpire
      • Release Notes 23.3 Release - Mindbreeze InSpire
      • Release Notes 23.4 Release - Mindbreeze InSpire
      • Release Notes 23.5 Release - Mindbreeze InSpire
      • Release Notes 23.6 Release - Mindbreeze InSpire
      • Release Notes 23.7 Release - Mindbreeze InSpire
      • Release Notes 24.1 Release - Mindbreeze InSpire
      • Release Notes 24.2 Release - Mindbreeze InSpire
      • Release Notes 24.3 Release - Mindbreeze InSpire
      • Release Notes 24.4 Release - Mindbreeze InSpire
      • Release Notes 24.5 Release - Mindbreeze InSpire
      • Release Notes 24.6 Release - Mindbreeze InSpire
      • Release Notes 24.7 Release - Mindbreeze InSpire
      • Release Notes 24.8 Release - Mindbreeze InSpire
      • Release Notes 25.1 Release - Mindbreeze InSpire
      • Release Notes 25.2 Release - Mindbreeze InSpire
    • Security
      • Known Vulnerablities
    • Product Information
      • Product Information - Mindbreeze InSpire - Standby
      • Product Information - Mindbreeze InSpire
    Home

    Path

    Sure, you can handle it. But should you?
    Let our experts manage the tech maintenance while you focus on your business.
    See Consulting Packages

    Configuration of Back-End Credentials
    Mindbreeze InSpire

    IntroductionPermanent link for this heading

    This instruction manual applies to G7 appliances.

    Mindbreeze InSpire uses the Keycloak software component to manage sign-on credentials. This section describes the most important use cases (such as changing passwords or creating users). You can also find additional documentation here: Keycloak 21.0 Server Administration

    Change PasswordPermanent link for this heading

    The first time you log in to the Management Center, you will be asked to change your password. If you want to change a user’s password at a later time, proceed as follows: In the Management Center, navigate to the menu item “Setup”, “Credentials” and then “Users” under “Manage”. Search for the user in question using the search function or search for “*” to view a list of all users. Click on the relevant user. In the “Credentials” tab you can set a new password with a click on “Reset password”. You can use the “Temporary” setting to determine whether the user has to change the password the next time he or she logs on. Confirm your entries with “Save”.

    Create a UserPermanent link for this heading

    You can create multiple users. In the Management Center, navigate to the menu item “Setup”, “Credentials” and then “Users” under “Manage”. Click on “Add user”, then enter the user name “Username” and click on “Save”. Then switch to the “Credentials” tab and click on “Set password” to set a password. This is described in the previous section “Change Password”. After you have set a password, you must assign roles to the user. Otherwise, the new user cannot be used properly. To do this, see the following section entitled “Managing Roles”. To use the “Forgot/reset password” function, we recommend that you enter a valid e-mail address for each user.

    Managing RolesPermanent link for this heading

    Access to the various areas of the Management Center (e.g. “Reporting”, “Configuration”) is regulated by roles. For example, a user has to be assigned the role “InSpire Config Administrator” to be able to use the “Configuration” item in the Management Center. Several “InSpire” roles have already been defined by default. You can call up the list of all available roles as follows: In the Management Center, navigate to the menu item “Setup”, “Credentials” and then “Roles” under “Configure”. The user “admin” is assigned all roles by default. You can assign roles to or remove roles from users as follows: In the Management Center, navigate to the menu item “Setup”, “Credentials” and then “Users” under “Manage”. Search for the user in question using the search function or search for “*” to view a list of all users. Click on the relevant user. Switch to the “Role Mappings” tab. You can assign roles here.

    Default RolesPermanent link for this heading

    Several roles that are required for operation are preconfigured in the default settings. This section describes these roles and their significance.

    The roles can be divided into 3 categories:

    • Mindbreeze InSpire roles (name starts with “InSpire”)
    • app.telemetry roles (name starts with „Fabasoft app.telemetry“)
    • Keycloak administration roles

    In the following section, the Mindbreeze "InSpire Management Center" is abbreviated as MMC.

    Description of the Mindbreeze InSpire RolesPermanent link for this heading

    The following Mindbreeze InSpire roles are predefined by default:

    Role name

    Description

    Examples (selection)

    “InSpire Administrator”

    Access to MMC “Update” and “InSpire Global Settings“

    Installation of updates, container management

    “InSpire app.telemetry Administrator”

    Access to MMC “Reporting” (app.telemetry)

    Diagnostics, reading log files, reading feedback. Read and change diagnostic configuration.

    “InSpire Application Impersonation“

    Authorizes the use of “Trusted Peer Authentication” in the client; see documentation: “Configuring Trusted Peer Authentication for Mindbreeze InSpire”

    Use “Trusted Peer Authentication” in the client, search on behalf of other users.

    “InSpire Config Administrator”

    Access to MMC “Configuration”

    Read and change Mindbreeze InSpire configuration

    “InSpire Index User”

    Access to the "filter" and "index" diagnostic servlets

    Index/filter status queries, detailed diagnostic options

    “InSpire Index Writer”

    Access for indexing documents

    Index or delete documents, filter documents, access for external connectors

    “InSpire Overview User”

    Basic access to the MMC "Search Experience".

    “InSpire Services Administrator”

    Access to MMC “Services”  

    Start/stop nodes, re-index

    “InSpire Vocabulary Administrator”

    Access to MMC „Synonyms, Replacements, Vocabulary“

    Edit Synonyme, Replacements and Vocabulary

    “InSpire Relevance Administrator”

    Access to Insight Apps, Query Boosting, Relevance

    Edit Relvance and Boosting

    “InSpire Resource Administrator”

    Combines the permissions of  InSpire Vocabulary Administrator and InSpire Relevance Administrator

    Description of the Keycloak Administration RolesPermanent link for this heading

    The following Keycloak administration roles are predefined by default:

    Role name

    Description

    Examples (selection)

    “admin”

    Access to “Credentials”

    Create/delete users, change role assignments

    “create-realm”

    Not used

    “offline-access”

    Not used

    “uma_authorization”

    Not used

    You can also find additional documentation here: Keycloak 21.0 Server Administration

    Description of the app.telemetry RolesPermanent link for this heading

    The following app.telemetry roles are predefined by default:

    Role name

    Description

    Examples (selection)

    „Fabasoft app.telemetry Administrators”

    Full administrative access

    Configuration changes

    „Fabasoft app.telemetry Dashboard Users”

    Access only to public dashboards and those assigned to this group.

    „Fabasoft app.telemetry Logpool Users“

    Access only to reports and log pools assigned to this group.

    „Fabasoft app.telemetry Users”

    Read-only access to all app.telemetry data.

    „Fabasoft app.telemetry Web Form Users”

    Access to the feedback inbox, forms, and website configuration

    Further documentation can be found at: Fabasoft app.telemetry Installation Guide.

    CookiesPermanent link for this heading

    For security reasons, all cookies issued by the Management Center or Keycloak Service have the SameSite option set to Strict. See RFC6265.

    In some rare cases, it may be necessary to reduce the security level. For this purpose, SameSiteValue=Lax or SameSiteValue=None can be set in the file /var/data/env/reverse-proxy.env. The setting will become active after a restart of the reverse-proxy container.

    TLSPermanent link for this heading

    For security reasons, TLS versions before TLSv1.2 as well as SSL (all versions) are disabled.
    Those versions are no longer supported by most browsers as well.

    In some rare cases it may be necessary to enable TLSv1.1 again (not recommended).
    For this purpose, TLSVersions='TLSv1.2 TLSv1.1' can be set in the file /var/data/env/reverse-proxy.env. The setting will become active after a restart of the reverse-proxy container.

    Reset Configuration to Mindbreeze DefaultPermanent link for this heading

    If the credentials management is no longer working properly, the credentials management can be reset to Mindbreeze default. A malfunction can have the following causes:

    • The password for the administrator has been lost
    • A configuration required for the operation of Mindbreeze InSpire has been changed, including the following parts of the configuration
      • Roles with names beginning with "InSpire"
      • The client "mindbreeze-inspire".
      • The realm theme "mindbreeze".

    Resetting to Mindbreeze standards resets the password of the administrator and resets the configuration of the parts of the configuration necessary for operation. Other parts of the configuration will not be changed. We recommend making a backup before resetting.

    Resetting to Mindbreeze standards is done as follows:

    • Log on to the appliance terminal with the root user.
    • Run the following command:
    • docker exec -it inspire-system-manager inspire-systemmanager reset keycloak --force
    • The reset takes a few minutes; the Mindbreeze services are not available during this time.

    Backup and Recovery of CredentialsPermanent link for this heading

    Automatic backupPermanent link for this heading

    The database and associated configuration files are backed up locally on a daily basis. The backup target in the keycloak container is as follows:

    /data/backup/curr

    This directory is also available on the host at

    /var/data/keycloak/data/backup/curr

    This directory must be included in an external backup.

    Manual BackupPermanent link for this heading

    The local backup can also be triggered manually. The backup is always stored in the same directory as described above. The backup does not affect the running operation. Access to the command line is necessary. Execute the following commands:

    # open a shell inside the keycloak container

    docker exec -it keycloak bash

    # within the keycloak container, impersonate the keycloak user

    # you must not invoke a login shell (do not use ‘su – keycloak’)

    su keycloak –

    # as keycloak user, execute the backup script

    ./keycloak/scripts/backup.sh

    # this can take a few minutes

    Restoring a BackupPermanent link for this heading

    A backup can be restored manually using the command line. Since the containers have to be restarted several times, the services are not available during this time. A prerequisite for recovery is an intact backup directory that has been stored or copied in /var/data/keycloak/data/. In this example, the copied backup directory is located in /var/data/keycloak/data/restore. Execute the following commands:

    # open a shell inside the keycloak container

    docker exec -it keycloak bash

    # open a shell inside the keycloak container

    docker exec -it keycloak bash

    # call restore script (run the following commands)

    ./keycloak/scripts/export_import_db.sh /opt/keycloak /data/backup/curr import

    # this can take a few minutes

    # watch the console output for the message “import finished successfully”

    # restart all containers to apply the restored data

    systemctl restart docker

    # this can take a few minutes

    Error Diagnosis/TroubleshootingPermanent link for this heading

    Log FilesPermanent link for this heading

    The following log files can be helpful for troubleshooting:

    # in-progress backups

    /var/data/keycloak/data/temp/backup.log

    # finished backups

    /var/data/keycloak/data/curr/backup.log

    # keycloak server logs within the keycloak container:

    /opt/keycloak/log/server.log

    # security logs within the inspire container:

    /var/log/secure

    Error When Updating to Version 20.4Permanent link for this heading

    If you receive the following error message when updating to version 20.4:

    • verify.sh: ERROR: keycloak update script failed

    Follow please this instruction.

    Error: Limitations for Keycloak Data When Downgrading Permanent link for this heading

    When downgrading to some older versions it is not possible to retain all Keycloak data. This applies to data such as additionally created clients, synchronized users, and customized user role mappings.

    However, to keep this data, please follow this instruction.

    Error When Downgrading From Version 21.3 to 21.2 or OlderPermanent link for this heading

    After a downgrade from version 21.3 to 21.2, credentials can no longer be loaded, corresponding error messages are displayed in the log, and affected services no longer start.

    To fix this problem, please follow these instructions.

    SSL Certificate Error During UpdatePermanent link for this heading

    If you receive the error listed below during an update (maybe you have to click on “Download Log” to see the complete logs), please follow these instructions (Section „Update with custom Keycloak system changes“).

    ...
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    ...

    Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    ...

    Download PDF

    • Configuration - Back-End Credentials

    Content

    • Introduction
    • Change Password
    • Create a User
    • Managing Roles
    • Default Roles
    • Cookies
    • TLS
    • Reset Configuration to Mindbreeze Default
    • Backup and Recovery of Credentials

    Download PDF

    • Configuration - Back-End Credentials