AdamBien / lightfish

Payara / GlassFish Monitoring Utility
121 stars 41 forks source link

Can't get HTTPS domain connections working #21

Open davenz opened 10 years ago

davenz commented 10 years ago

Hi,

Just trying to get a connection established between LightFish and a GlassFish domain over HTTPS.

I'm using the "Lean Edition" LightFish WAR, and I have installed it in a fresh GlassFish 4.0 (build 89) domain running in an OpenIndiana host, using JDK 7u21. The GlassFish domain I'm trying to monitor is running the same OS and JDK, but is running GlassFish 3.1.2.2 (build 5).

Using LightFish I've enabled authentication, but I cannot get LightFish to connect to the remote domain at all. Clicking on the "Update" button does not result in a successful connection from which I can then activate monitoring.

I've verified the remote domain can be connected to over HTTPS at the URL specified in LightFish (just using a web browser) just fine.

I've also tried manually importing the remote GlassFish domain's SSL certificate into the system and GlassFish domain Java keystores of the server hosting LightFish, but this does not change the behaviour.

Is there something I'm missing here?

Cheers, Dave

lightfish-https-1

AdamBien commented 10 years ago

I had to remove the HTTPs support in the recent release because of dependencies on proprietary jersey libraries. The old releases < 1.2 should still work. I will reintroduce HTTPs support probably in 1.3.1. Thanks for testing!

davenz commented 10 years ago

Ah, that explains it. I'll disable security on the domain in question (it's private anyway) so I can use the latest version. Love the clean new look too :)

AdamBien commented 8 years ago

I reviewed the code, but didn't test it. Please re-test the recent release

dezagfx commented 7 years ago

Good afternoon , I've been trying to make this work with the last version but it doesn't work. Running Payara 4.1 and secure admin enabled. Error 401 always happen