Server does not connect to wifi automatically and asks to confirm the password

Hello everybody,

I have installed Alma Linux 9.4 on my home server. I want to run my server over wifi because I want to put in a corner where I have no lan. But the server always wants me to confirm the wifi password whey I reboot it. I don’t have to tip up the password there is only a message on the top where I can confirm the password.
I already tried in the settings to make the password available to all users and to remember the network and I removed the network both in the settings and via command line and tried to reconnect with nmcli but I always get the same behavior.
If I check the protocols then there is always a NetworkManager-wait-online.service error.

Thank you for help.