Reset admin password for Fortify 22.2

Hi,

I have configured Fortifity SSC 22.2.0 in a stage machine but am unable to login.

I verified the log file ssc.log in fortify home directory. The below error is shown -

/ssc/j_spring_security_check [WARN] com.fortify.manager.security.CustomLoggerListener - Authentication event AuthenticationFailureCredentialsExpiredEvent: admin; exception: User credentials have expired

Please suggest how can I fix this issue.

I do see this msg in logs -

[WARN] com.fortify.manager.security.CustomLoggerListener - Authentication event AuthenticationFailureLockedEvent: admin; exception: User account is locked

Please help how to unlock the account

Parents
  • 0  

    Run the following SQL command on the SSC database:

    UPDATE fortifyuser
    SET password = '{bcrypt}$2a$10$fJ65H/8ihJW40LOI4CAzWuiqp/G.TQs1rzs8RbfiR1avAP9Ty0Tau',
    dateFrozen = NULL,
    failedLoginAttempts = '0'
    WHERE userName = 'admin';

    This will reset the admin password back to admin.

  • 0 in reply to   

    Thanks, but still its is not working for me..  I have executed the update statement and verified in database also. I have restarted thetomcat, I tried to login using admin/admin but the url is showing this - <hostname>:8080/ssc/changePassword.jsp#!/

    I have verified the log file ssc.log - this is the last line in the log file -

    /ssc/j_spring_security_check [WARN] com.fortify.manager.security.CustomLoggerListener - Authentication event AuthenticationFailureCredentialsExpiredEvent: admin; exception: User credentials have expired

Reply
  • 0 in reply to   

    Thanks, but still its is not working for me..  I have executed the update statement and verified in database also. I have restarted thetomcat, I tried to login using admin/admin but the url is showing this - <hostname>:8080/ssc/changePassword.jsp#!/

    I have verified the log file ssc.log - this is the last line in the log file -

    /ssc/j_spring_security_check [WARN] com.fortify.manager.security.CustomLoggerListener - Authentication event AuthenticationFailureCredentialsExpiredEvent: admin; exception: User credentials have expired

Children