I deleted Super Administrator Role by accident and now I'm unable to log into the EJBCA Admin Web. Is there any possibility to recreate superadmin role and how?
Thanks,
Alo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No database integrity protection available in this version of EJBCA.
12:23:47,563 INFO [org.cesecore.authorization.control.AccessControlSessionBean] (EJB default - 2) Authorization failed for ejbca of type CliAuthenticationToken for resource /system_functionality/edit_administrator_privileges
ERROR: Not authorized to remove role Admins
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I deleted Super Administrator Role by accident and now I'm unable to log into the EJBCA Admin Web. Is there any possibility to recreate superadmin role and how?
Thanks,
Alo
Hi,
If you remove all roles and restart JBoss, EJBCA should automatically recreate the super admin role.
Cheers,
Mike Kushner
Release Manager, Primekey Solutions
Save time and money with an Enterprise support subscription. Please see www.primekey.se for more information.
https://www.primekey.se/technologies/products-overview/
https://www.primekey.se/service-support/support/
sh> ejbca.sh roles removerole Admins
No database integrity protection available in this version of EJBCA.
12:23:47,563 INFO [org.cesecore.authorization.control.AccessControlSessionBean] (EJB default - 2) Authorization failed for ejbca of type CliAuthenticationToken for resource /system_functionality/edit_administrator_privileges
ERROR: Not authorized to remove role Admins
Ironic, eh? You'll have to do it directly in the database.
Cheers,
Mike Kushner
Release Manager, Primekey Solutions
Save time and money with an Enterprise support subscription. Please see www.primekey.se for more information.
https://www.primekey.se/technologies/products-overview/
https://www.primekey.se/service-support/support/
Ironic indeed;) I just restored the DB to the state before deleting and I'm able to login into AdminWeb again.
Thanks Mike!