Upgrades older config to current.
In 3.1.2 GlassFish uses SSL for DAS-to-instance traffic regardless of
whether the user enables secure admin. This means that the upgrade must
always:
- Create the secure-admin element.
- Add the glassfish-instance private key to the keystore and the
corresponding self-signed cert to the truststore.
- Add secure-admin-principal children to secure-admin, one for alias s1as and
one for glassfish-instance.
- Add the Grizzly config for the non-DAS admin listener configurations to use port unification
and redirection (and SSL).
- If it seems the user has configured the old domain to use secure admin
traffic then run the enable-secure-admin command.