• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic