-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating an HTTP listener with security enabled using web admin console doesn't work #371
Comments
…ag if security enabled
…ag if security enabled
Thanks for fixing this. It would be interesting to find out when this regression occurred in the GlassFish code. I used GlassFish 3.1.2.2 for years and followed the same steps to create a new HTTPS listener for each new customer. It wasn't until we upgraded to 4.1 (skipping 4.0) that we discovered this issue. |
I took a quick look through the code but that code was the same back to the original branching and reorganisation from 3.x to 4.x it could be that it is making assumptions from back in the 3.x era wrt to SSL configuration which are no longer valid. |
…ra#7) PAYARA-331 fixes payara#371 create-protocol correclt creates ssl subtag if security enabled
….29.0 Increment version numbers 5.29.0
This was tested on GlassFish 4.1, JDK 8u45 and Windows 7 (also Windows Server 2012 R2).
Steps to reproduce:
Log into web admin console and navigate to Configurations -> server-config -> Network Config -> Network Listeners then click the New button.
Name it "test-listener" then press tab, enter port 8443, enter address 0.0.0.0, check the security enabled checkbox, select the http-thread-pool and then save.
Open the domain.xml file and search for test-listener until you find this block:
It is missing the SSL tag. It is supposed to look like this:
If you restart GlassFish and try to access https://localhost:8443 you'll get some sort of SSL connection related error. If you then add the ssl tag to the test-listener in domain.xml and restart, you will be able to access https://localhost:8443 in the browser after being warned about self signed certificates.
I think this is a regression. I don't remember having this problem with GlassFish 3.1.2.2.
The text was updated successfully, but these errors were encountered: