users@glassfish.java.net

Re: https for admin console on single instance install

From: <glassfish_at_javadesktop.org>
Date: Tue, 18 Sep 2007 08:15:11 PDT

> How can I do for being able to access the admin console with https://xxx:4848 instead of
> http://xxx:4848 on a single instance ?

You need to enable security on the admin-listener. You can either use the Admin Console or CLI to change this.
I assume you are running the developer profile.

In Admin Console, navigate the left-hand tree to
Configuration -> HTTP Service -> HTTP Listener, click on admin-listener
On the right panel, check the 'Security' Enabled checkbox.

You will need to restart the server and then you can access it through
https://xxx.4848

Here is the CLI command to get and set that attribute:

[i]asadmin get server.http-service.http-listener.admin-listener.security-enabled [/i]
server.http-service.http-listener.admin-listener.security-enabled = false

[i]asadmin set server.http-service.http-listener.admin-listener.security-enabled=true[/i]
[Message sent by forum member 'anilam' (anilam)]

http://forums.java.net/jive/thread.jspa?messageID=235841