Skip to main content
Version: Axidian CertiFlow 7.2

OpenID Connect server

OpenID Connect server allows to authenticate users in the Axidian Certiflow web applications using the OpenID Connect protocol.

It is mandatory for Axidian Certiflow Linux installations and optional for Windows installations. Install the OpenID Connect server before you install the Axidian Certiflow server.

info

OpenID Connect (OIDC) is an authentication and authorization protocol built on OAuth 2.0, which adds an identity layer to the OAuth framework. It enables applications to verify a user's identity and obtain basic profile information about them from an Identity Provider (IdP).

Follow the instructions for the operating system of the workstation where you plan to install the Axidian CertiFlow server.

  1. To install the OIDC server, run the AxidianCertiFlow.Oidc.Server-<version number>.x64.en-us.msi file.
  2. Install the Axidian CertiFlow server and select the OpenID Connect Authentication access control method in the server installation wizard.
  3. Prepare a JWT signing certificate by following the instructions below.
  4. Configure the OIDC server settings in the Configuration Wizard (Access ControlOpenID Connect).
  5. Apply the settings on the Axidian CertiFlow server.

Prepare a JWT signing certificate

Use the web server certificate as the signing certificate.

To prepare the signing certificate:

  1. Install the signing certificate in the Local Computer – Personal store.
  2. Grant the IIS full access to the signing certificate's private key.
    1. Open the Certificates snap-in on the workstation where the OIDC server is installed.
    2. Right-click the certificate, select All tasksManage Private Keys... and click Add.
    3. In the Location menu, specify the server.
    4. In the Enter the object names to select field, specify the local group IIS_IUSRS, click Check Names, and OK.
    5. Set the permissions to Full Control and Read.
    6. Click Apply.

Edit database settings

By default, the OIDC server writes data to a local SQLite database. The SQLite database is intended for installations with a single Axidian CertiFlow server. The OIDC server's data is stored in the C:\inetpub\wwwroot\certiflow\oidc\data catalog.

Other than SQLite, you can use a Microsoft SQL or PostgreSQL database. To configure the connection to Microsoft SQL or PostgreSQL, edit the OIDC server's configuration file appsettings.json.

  1. Create a database in SQL Server Management Studio.
  2. Open the OIDC server's configuration file appsettings.json and edit the defaultConnection and provider sections. The following example uses SQL authentication for the database connection.
    • "defaultConnection": "Data Source=0;Initial Catalog=oidcdb;Persist Security Info=True;User ID=servicesql;Password=p@ssw0rd;TrustServerCertificate=True"
    • "provider": "mssql"
  3. Restart the Axidian CertiFlow OIDC application pool to apply the changes.
    1. Open the Internet Information Services (IIS) Manager and select Application Pools in the left menu.
    2. Select the Axidian CertiFlow OIDC application and click Recycle in the right menu.
Example parameters for connecting to Microsoft SQL
"connectionStrings": {
"defaultConnection": "Data Source=0;Initial Catalog=oidcdb;Persist Security Info=True;User ID=servicesql;Password=p@ssw0rd;TrustServerCertificate=True"
},
"database": {
"provider": "mssql"
},