Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

 
Ranch Hand
Posts: 64
  • 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.
 
Saloon Keeper
Posts: 6592
161
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • 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.
 
Do not meddle in the affairs of dragons - for you are crunchy and good with ketchup. Crunchy tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic