Enable Web Page to run on HTTPS


We have a glassfish server that run on http we now have to enable https and let the application run on https.

We already installed the certificates
Who is Participating?
collins23Connect With a Mentor Commented:
which version of glassfish ? have you seen this ?

abooysen2Author Commented:
Version 2
svgmucConnect With a Mentor Commented:
Try to connect via https (ie. type the same URL as usual, just use https).
If it works, you're done.

Otherwise check

- if https is enabled in the server
- if the https virtual host is using the same document root
- if the documents don't enforce http

After you get it to work, decide if you want https enforced or both options enabled.
You can either enforce it through the scripts or through rewrite rules.
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

abooysen2Author Commented:
when we start up our enviroment we get this error

java.net.BindException: Permission denied: 443
it appears another service is already listening on port 443.

you may need to change this port to something like 8443 ( assuming you are not using this port also )
abooysen2Author Commented:
it's working now. I check the port netstat -anp |grep 443 and used 8443 rather

abooysen2Author Commented:
Excellent guidelines
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.