• Post Reply Bookmark Topic Watch Topic
  • New Topic

what changes do i need to make in my app for it to support https  RSS feed

 
somashaker goud
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I have developed a web application successfully. Its easily handling all http requests now I need to make it to support https

I have done below changes in my web.xml



When I am deploying my app on tomcat using Eclipse ideits hitting below url.

https://localhost:8443/SuperMarket/

which is expected but page is not getting diplayed. Below is the error which I am getting on my browser.



So wanted to know what changes do i need to make in my code.
 
Tim Moores
Saloon Keeper
Posts: 3564
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming you have done "Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings" (I'm not sure what is, as I'm not familiar with the Tomcat/Eclipse integration), make sure you have everything mentioned in http://tomcat.apache.org/tomcat-8.5-doc/ssl-howto.html. That is for a standalone Tomcat not running as part of Eclipse, though, so you may need to do something else instead. But I strongly recommend using a standalone Tomcat rather than the one integrated in an IDE. You'll avoid such compatibility problems, amongst other benefits.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!