Issue
After removing OTP (One-Time Password) authentication from EJBCA Software Appliance, authentication via certificates failed, preventing access to the Admin Web and RA Web portals. Can OTP authentication be reinstated or are there alternative ways to manage user roles and access without requiring certificate logins for these portals?
Root cause
Once the initial OTP user is deleted, it cannot be added back. The only ways to restore OTP authentication are:
- Revert to a system snapshot taken when the OTP user was still active.
- Set up a new Software Appliance instance with the OTP user built-in.
Workarounds
Option 1: Use internal OAuth authentication
If OTP authentication is removed, you can create a new user using the internal OAuth authentication method. This option allows users to authenticate to Admin Web and RA Web without requiring client certificates.
- Log in to Webconf.
- Navigate to Access > User Accounts.
- Click Add User Account.
- Select OAuth as the authentication method and assign the required roles.
For more information about creating a user account with OAuth, refer to Create a user account with OAuth.
Option 2: Enable direct certificate access to Admin Web and RA Web
For direct certificate access to Admin Web and RA Web without requiring a platform user account in Webconf, you can disable the Require platform user account for EJBCA option on the Access tab in WebConf.
For information about OAuth provider configuration in EJBCA Admin Web, refer to OAuth Providers in EJBCA.
Important notes
- OTP authentication cannot be removed unless another user with certificate login or internal OAuth is added. This is to prevent being locked out of the system.
- If neither certificate nor OAuth users are configured before removing OTP, access to Webconf, Admin Web, and RA Web will be lost.
- Restoring OTP is only possible by reverting to a previous snapshot or redeploying the appliance.
Comments
Article is closed for comments.