Trouble with SJSAS 9.01 with new SSL keystore and cacerts

I am currently developing an application on Netbeans 5.5 + SJSAS 9.01 and need to be able to provide SSL secured communications between a client browser and the server. I am unable to get things working with the default keystore.jks and cacerts.jks provided with SJSAS 9.01 since apparently the password is *not* the default "changeit" as is stated in the Administrative guide (http://docs.sun.com/app/docs/doc/819-3658/6n5s5nkn8?a=view#ablra).

Therefore, I tried backing up the keystore.jks and cacerts.jks, and running through the keystore and certificate generation as explained in the Administrative guide. I am able to do everything as described without a hitch, except when it comes to actually starting the application server. With the newly generated keystore.jks and cacerts.jks, I receive several exceptions upon attempting startup and the startup fails. The exceptions do not tell me much, except for one IllegalStateException, which states "Keystore was tampered with, or password was incorrect". If I delete the newly created keystore.jks and cacerts.jks and copy back over the old ones, things work fine again.

Are there any other changes that need to be made within the application server regarding the change of ssl certificates and subsequent change of passwords? I been unable to find *ANYTHING* on this....and it's getting very frustrating!!

[1380 byte] By [Smilera] at [2007-11-26 20:30:09]
# 1

Well, after working my way through it, troubleshooting and reading the log files, I came across the fact that there is apparently a key alias added to the default keystore known as "s1as". If you recreate your own keystore.jks and cacerts.jks, you must add this alias. There were numerous environment variables refering to it. I do not know what it is, but it is apparently required for the operation of the application server.

I don't know why this is not mentioned in the SJSAS 9.0 Administration Guide. I followed the SSL section step-for-step, and encountered this problem.

Smilera at 2007-7-10 1:19:41 > top of Java-index,Application & Integration Servers,Application Servers...