No, you should not specify randon passwords. You must specify the username and password of the Wazuh indexer. This credentials change depending on the deployment you did, or if you changed the password with the Wazuh password tool.
If you did a step-by-step deployment and you didn't change the passwords, the credentials should be admin:admin, as it is specified in the documentation:
https://documentation.wazuh.com/current/installation-guide/wazuh-server/step-by-step.html#configuring-the-wazuh-indexer-connectionInstead, if you deployed Wazuh using the Installation assistant, the password were changed automatically. If you made this deployment, you should have a `wazuh-install-files.tar` file in your system. If this is the case, you can get the Wazuh indexer password with this command:
tar -axf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt -O | grep -P "\'admin\'" -A 1.
Also, before inserting the credentials in the Wazuh keystore, I recommend you to check which password do you have by testing it in a curl command to the Wazuh indexer:
curl -k -u admin:<ADMIN_PASSWORD> https://<WAZUH_INDEXER_IP>:9200/_cat/nodes?v.
Replace <ADMIN_PASSWORD> and <WAZUH_INDEXER_IP> values with your values.