That option/param is not available? :-(
asadmin set --host arara --port 11048 --user admin "
server.http-service.admin-listener.security-enabled=true"
Please enter the admin password>
No object matches the specified name "
server.http-service.admin-listener.security-enabled"
CLI137 Command set failed.
On 6/27/07, glassfish_at_javadesktop.org <glassfish_at_javadesktop.org> wrote:
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>