The Salt Minion fails to connect to the Salt Master or RAAS, continuously logging authentication-related errors.
In the minion log file (/var/log/salt/minion), you may observe the following entries:
RSA key format is not supported
Unexpected error while connecting to saltmaster
This occurs when the Salt Minion’s private key file (minion.pem) is empty, missing, or corrupted, preventing successful RSA-based authentication with the master.
VMware Aria Automation Config 8.x
Salt uses a pair of RSA keys (minion.pem and minion.pub) for authentication with the master.
If the private key file becomes empty or corrupted, the minion cannot perform the SSL handshake, resulting in the RSA key format error and failed connection attempts
systemctl stop salt-minionmv /etc/salt/pki/minion /etc/salt/pki/minion.baksystemctl start salt-minionNote: The minion automatically generates new valid RSA key pairs after restart.
Using command line:
salt-key -AOr via RAAS UI → Minion Keys → Accept Pending Key.
salt <minion_id> test.pingExpected output:
<minion_id>:
True