I've installed the UA on an OES 2 box but when I started jboss I had
an error about authentication.

I ran the configupdate.sh script and saw that it had lost the LDAP
user parameters. I corrected this but when I press 'OK' I got an
'Invalid Keystore Format' error. If I run keytool I get the same
error.

Any idea what may have caused this and how to fix it, or do I need to
reinstall?

The only thing I noticed that may have some relevance was that I was
installing as 'root' but the java directory including cacerts was
owned by another user (nwhelpteam) which is the local user I created
during the server build.

TIA

Ian