Daniel,
Good Question. The way the create domain process works is:
- Based on your inputs a base domain.xml template is chosen.
- It's token replaced to get a valid domain.xml (validation checks are done).
The way the admin console will be available on https is controlled by the "security-enabled" flag
on "admin-listener". By default, it uses the "s1as" certificate for SSL.
Unfortunately, there is no one step to achieve this. You'll need to follow the following:
- Create the domain using "asadmin create-domain" or "asadmin create-domain --profile cluster ..."
- Start the domain.
- asadmin set "server.http-service.admin-listener.security-enabled=true"
- Restart the domain.
Now, the admin console will be available only at "
https://host:4848" and not "
http://host:4848".
Regards,
Kedar
[Message sent by forum member 'km' (km)]
http://forums.java.net/jive/thread.jspa?messageID=224234