Skip to content

can not change api key after upgrade to 4.9 #3136

Description

@n1ck-unikat

ubuntu 20.04 wazuh 4.9

i upgrade the version to 4.9 , after that api can not conneted :

3099 - ERROR3099 - Server not ready yet

when i try to change the api key , its come to:

ERROR: Invalid admin user credentials

  1. step generate new password with the command:
  2. ./wazuh-passwords-tool.sh --change-all
  3. try to login with the new key, accepted
  4. now try with the new password for wazuh to change the api key with the command:
  5. ./wazuh-passwords-tool.sh --api --change-all --admin-user admin --admin-password generatedpassword before
  6. ./wazuh-passwords-tool.sh --api --change-all --admin-user wazuh --admin-password generatedpassword before
  7. always failure : ERROR: Invalid admin user credentials
    i dont understand, how can the credential wrong when i generate then new and can login with the credential?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions