After a new installation, the local Agent can not be started and stays in status 'STOPPED'. The log file shows the following error:
ErrorMsg: AwE-5012 File read error
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java(Compiled Code))
The keyfile has been uploaded/copied in ASCII mode, but has to be in BINARY mode.
The original keyfile has to be uploaded again in BINARY mode. The processes have to be restarted afterwards, for the changes to take effect.