I am a bit confused on deploying applications on Glassfish.
I have installed Glassfish server, and I have succesfully deployed an application (say myapp) that responds to http://localhost:8080/myapp

Now, HTTP and HTTPS listeners are both active: I see http-listener-1 listening to port 8080 with "security" disabled, and I see http-listener-2 listening to port 8181 with "security" enabled.
So, I guessed my app should respond also to address https://localhost:8181/myapp
However it does not.
Am I wrong? What should I do to enable HTTPS?
Thank you.