I am a new Acegi Security user and I have the same problem that jpwinans explains.
My acegi-cas web app is running on:
- JDK 1.5
Acegi Security 0.8.2
First, I created the SSL certificate with the CN as localhost and the application works if you where accessing it from the same machine, but from another machine it did not work, I got
Then I created a new SSL certificate with the CN as the IP address (10.131.5.40) of the machine where Tomcat is running. Then the application did not work accessing it from the local machine nor from another one. And we got the same exception as jpwinans:
The connection was refused when attempting to contact localhost:8443
I want to know if somebody has found a solution for this problem specially in windows.
[DEBUG,AbstractProcessingFilter,http-8443-Processor22] Authentication request failed: net.sf.acegisecurity.AuthenticationServiceEx
ception: HTTPS hostname wrong: should be <10.131.5.40>
Thank you in advance