kKdH
kKdH

Reputation: 512

Cannot access glassfish web admin console

I followed this tutorial with few changes to install GlassFish on a remote host.

Everything works fine, except the web admin console. I can deploy apps (e.g. Jenkins) via CLI and asadmin and they work. But i can not access the web admin console via http(s)://my-domain:4848

My Browser (Safari) notifies me about my self signed certificate and after a while it reports that it can't establish a secure connection to my server.

The log (glassfish/domains/domain1/log/server.log) is clean. I turned off the firewall but the problem still exists.

Can someone help me to fix this Problem or have someone suggestions what i can try to fix it.

--

Thanks a lot,

Elmar


Edit: By disabling secure-admin, i can access the login page but can not login (Secure Admin must be enabled to access the DAS remotely.). With enalbed secure admin i can note even access the login page.

Upvotes: 1

Views: 4533

Answers (3)

Octavian
Octavian

Reputation: 1871

Safari will not establish secure connection to a server with certificate that uses DSA Signature with SHA1 Digest signature algorithm. You will have to use RSA algorithm.

Try and create new certificate with this command:

keytool -genkeypair -keystore your_keystore.jks -keyalg RSA -keysize 1024

Upvotes: 0

kKdH
kKdH

Reputation: 512

The problem is Safari. There is no problem to access the Admin-Console via Firefox.

Upvotes: 1

criscros
criscros

Reputation: 346

what does a "netstat -aptun | grep 4848" , tell ?

also see if secure admin is enabled ? "asadmin> get secure-admin.enabled"

As I know if secure-admin is disabled you are unable to access the DAS from remote .

I hope this will help.

Good luck.

Upvotes: 0

Related Questions