Error upgrading config for secure DAS-to-instance admin traffic
Dear GlassFish users
I'm trying to upgrade the GlassFish Server Open Source Edition from
3.1.2 to 126.96.36.199 with a side-by-side upgrade path and the help of the
asupgrade tool, following the upgrade guide (chapter "To Upgrade From
the Command Line Using Upgrade Tool").
Unfortunately the upgrade fails with the following exception:
asadmin: SEVERE: Error upgrading config for secure DAS-to-instance admin
asadmin: org.jvnet.hk2.component.ComponentException: injection failed on
com.sun.enterprise.security.ssl.SSLUtils.secSupp with class
asadmin: Caused by: java.io.IOException: Keystore was tampered with, or
password was incorrect
The old version is located at /opt/glassfish-3.1.2 and symlinked to
/opt/glassfish, whereas the new version will be located at
/opt/glassfish-188.8.131.52. The old version uses a site specific master
password (not the default one).
I've used the following steps to upgrade to the new version:
mkdir --mode=755 /opt/glassfish-184.108.40.206
unzip glassfish-220.127.116.11.zip -d /opt/glassfish-18.104.22.168
rm -rf /opt/glassfish-22.214.171.124/glassfish3/glassfish/domains/domain1
--source /opt/glassfish/glassfish3/glassfish/domains/domain1 \
On the "Enter the master password" prompt I've entered the same master
password as on the old version, however asadmin doesn't seems to be able
to access the keystore. I've used copy and paste for entering the master
password and also verified it on the old version beforehand.
Afterwards I've compared the MD5 sums of the following files on both
versions, they all match.
I was also able to list the content of the keystore and the cacerts with
help of the keytool and the master password of the old version.
Are there any pre-upgrade steps that I've missed or what could be the
cause of the above error?
Please find attached the complete upgrade log file.
Thanks a lot in advance for your help.